Hello Adar Dembo, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/3057
to look at the new patch set (#2).
Change subject: log: use iterator interface for reading log while rebuilding
footer
......................................................................
log: use iterator interface for reading log while rebuilding footer
We no longer read all of the entries in the segment into memory,
but rather process them one by one. This should improve performance
of this operation a little bit, but more importantly, it allows
us to remove some complexity from the ReadEntries() function.
Change-Id: Ic0547f43ba741a8f189fd0419319b17725d64f95
---
M src/kudu/consensus/log.cc
M src/kudu/consensus/log.h
M src/kudu/consensus/log_util.cc
M src/kudu/consensus/log_util.h
4 files changed, 38 insertions(+), 49 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/57/3057/2
--
To view, visit http://gerrit.cloudera.org:8080/3057
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic0547f43ba741a8f189fd0419319b17725d64f95
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins