Hello Alexey Serbin,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/9779
to review the following change.
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
---
M src/kudu/consensus/consensus_queue.cc
M src/kudu/consensus/metadata.proto
2 files changed, 21 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/9779/1
--
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: newchange
Gerrit-Change-Id: Ide4cb453f1cd1b955a73e9ddd58ca5ecd90b2e9c
Gerrit-Change-Number: 9779
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>