Hello Alexey Serbin, I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/9267 to review the following change. Change subject: Random cleanups in RaftConsensus ...................................................................... Random cleanups in RaftConsensus This patch implements various random cleanups in RaftConsensus and ConsensusMetadata, including adding a DCHECK and an AssertWaitAllowed(), in addition to only acquiring the RaftConsensus lock once in the election callback. Change-Id: Ie470a526a4a0b0595b3d4310a961876e52a99b0a --- M src/kudu/consensus/consensus_meta.h M src/kudu/consensus/raft_consensus.cc 2 files changed, 35 insertions(+), 37 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/67/9267/1 -- To view, visit http://gerrit.cloudera.org:8080/9267 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie470a526a4a0b0595b3d4310a961876e52a99b0a Gerrit-Change-Number: 9267 Gerrit-PatchSet: 1 Gerrit-Owner: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>