Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17236


Change subject: [consensus] small cleanup on consensus::Peer
......................................................................

[consensus] small cleanup on consensus::Peer

Peer::LogPrefixUnlocked() was constructing a new string every time it's
called, but all the information in the prefix is immutable for a Peer
instance.  Also, it's possible to set "tablet_id", "caller_uuid", and
"dest_uuid" fields of the Peer::request_ PB structure only once.

Change-Id: Iefce6791d12fbd126ee30104d1005209ad3de3ff
---
M src/kudu/consensus/consensus_peers.cc
M src/kudu/consensus/consensus_peers.h
2 files changed, 19 insertions(+), 14 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iefce6791d12fbd126ee30104d1005209ad3de3ff
Gerrit-Change-Number: 17236
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to