You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@cloudera.org> on 2016/05/12 01:46:28 UTC

[kudu-CR] WIP: refactor log reading into an iterator-like interface

Todd Lipcon has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3038

Change subject: WIP: refactor log reading into an iterator-like interface
......................................................................

WIP: refactor log reading into an iterator-like interface

This adds a new interface to iterate over a WAL one entry at a time.
This interface is both more natural to use and more performant: by
not materializing lots of entries in memory at the same time, the
allocator thread cache should be kept much hotter and a smaller
amount of memory can be reused, keeping CPU caches hotter.

Change-Id: I5727951664600b7a591a6c892ea1e62469ceb109
---
M src/kudu/consensus/log_util.cc
M src/kudu/consensus/log_util.h
2 files changed, 186 insertions(+), 118 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5727951664600b7a591a6c892ea1e62469ceb109
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>