Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/9779 )

Change subject: consensus: Enforce terminal health status for 
FAILED_UNRECOVERABLE
......................................................................

consensus: Enforce terminal health status for FAILED_UNRECOVERABLE

This patch adds a DCHECK to the consensus queue that we never transition
from FAILED_UNRECOVERABLE to some other health state for a given peer.

Added some comments documenting the state transition rules to the
protobuf definition as well.

Change-Id: Ide4cb453f1cd1b955a73e9ddd58ca5ecd90b2e9c
Reviewed-on: http://gerrit.cloudera.org:8080/9779
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
M src/kudu/consensus/consensus_queue.cc
M src/kudu/consensus/metadata.proto
2 files changed, 16 insertions(+), 2 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ide4cb453f1cd1b955a73e9ddd58ca5ecd90b2e9c
Gerrit-Change-Number: 9779
Gerrit-PatchSet: 4
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>

Reply via email to