Hello Alexey Serbin,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/9261
to review the following change.
Change subject: cmeta: Use more efficient form of GetConsensusRole()
......................................................................
cmeta: Use more efficient form of GetConsensusRole()
Now that there is a form of GetConsensusRole() that can be called
without instantiating an instance of ConsensusStatePB, which requires a
bunch of string copies, let's use that for
ConsensusMetadata::UpdateActiveRole() instead.
Change-Id: Ia192d75ffef614e2c1832df85c1332cb13d49f39
---
M src/kudu/consensus/consensus_meta.cc
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/61/9261/1
--
To view, visit http://gerrit.cloudera.org:8080/9261
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia192d75ffef614e2c1832df85c1332cb13d49f39
Gerrit-Change-Number: 9261
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>