Hello David Ribeiro Alves, Alexey Serbin,

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

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

to review the following change.

Change subject: consensus: Add DCHECK(is_locked()) in all unlocked methods
......................................................................

consensus: Add DCHECK(is_locked()) in all unlocked methods

Now that RaftConsensus owns 'lock_' we can easily implement these kinds
of basic hygenic checks.

Change-Id: I3364607e6778e6495e40d7ad36ea1850b022c444
---
M src/kudu/consensus/raft_consensus.cc
M src/kudu/consensus/raft_consensus.h
2 files changed, 44 insertions(+), 2 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3364607e6778e6495e40d7ad36ea1850b022c444
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>

Reply via email to