Todd Lipcon has submitted this change and it was merged.

Change subject: heartbeater: slight fixes to backoff behavior
......................................................................


heartbeater: slight fixes to backoff behavior

1. There was an off-by-one error when deciding how many failed heartbeats
   should lead to back off.
2. We only reset the connection to the master when transitioning to back off
   behavior, but I think the original intent was to reset it on every failed
   heartbeat thereafter.

These changes shouldn't have any real impact, but I think they make the back
off behavior more intuitive.

Change-Id: I8f1dbc0a8b2d052eeb39277e0b8d76e612e9b747
Reviewed-on: http://gerrit.cloudera.org:8080/3847
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <t...@apache.org>
---
M src/kudu/tserver/heartbeater.cc
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Todd Lipcon: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/3847
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8f1dbc0a8b2d052eeb39277e0b8d76e612e9b747
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>

Reply via email to