Alexey Serbin has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/17236
Tested-by: Kudu Jenkins
Reviewed-by: Bankim Bhavsar <[email protected]>
Reviewed-by: Andrew Wong <[email protected]>
---
M src/kudu/consensus/consensus_peers.cc
M src/kudu/consensus/consensus_peers.h
2 files changed, 19 insertions(+), 14 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Bankim Bhavsar: Looks good to me, but someone else must approve
  Andrew Wong: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: Iefce6791d12fbd126ee30104d1005209ad3de3ff
Gerrit-Change-Number: 17236
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to