Hello David Ribeiro Alves,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/4635

to review the following change.

Change subject: raft: set threadpool timeout to be longer than heartbeat 
interval
......................................................................

raft: set threadpool timeout to be longer than heartbeat interval

Looking at a cluster where the heartbeat interval has been set to 1.5
seconds, I see that there are a lot of threads starting and stopping.
The issue seems to be that the Raft threadpool (on which requests are
scheduled) has a default 500ms timeout, but the requests are less
frequent. Thus, every request is starting and stopping a thread.

Change-Id: Ic1b11d3d9230af8fe8cc3490fed51738ae7e81a1
---
M src/kudu/consensus/raft_consensus.cc
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/35/4635/1
-- 
To view, visit http://gerrit.cloudera.org:8080/4635
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic1b11d3d9230af8fe8cc3490fed51738ae7e81a1
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: David Ribeiro Alves <dral...@apache.org>

Reply via email to