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


Change subject: [consensus] use move semantics for LogEntryBatchPB
......................................................................

[consensus] use move semantics for LogEntryBatchPB

As it turned out, in the context of the Log class and related utilities,
it's possible to get rid of the heap allocation and unique_ptr-wrapping
for LogEntryBatchPB.  With this patch, instances of LogEntryBatchPB are
allocated on the stack and passed around using the move semantics.

Change-Id: Ib5d3c384dd6f17e8c4c71eec074af9e98827262b
---
M src/kudu/consensus/log.cc
M src/kudu/consensus/log.h
M src/kudu/consensus/log_reader.cc
M src/kudu/consensus/log_reader.h
M src/kudu/consensus/log_util.cc
M src/kudu/consensus/log_util.h
6 files changed, 54 insertions(+), 56 deletions(-)



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

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

Reply via email to