Adar Dembo has uploaded a new patch set (#2). Change subject: log_block_manager: refactor container record processing ......................................................................
log_block_manager: refactor container record processing While working on some other LBM stuff I noticed that LogBlockManager::ProcessBlockRecord() was effectively static; this patch moves it into the LogBlockContainer. Besides narrowing the function's scope, we can now process records as they are read rather than storing them in a deque to be processed later. To make this refactor work, I had to move the LogBlock definition so that LogBlockContainer could use it. This also means various LogBlockContainer methods can now take LogBlock-typed arguments, and GetAlignedBlockLength() can move over to LogBlock where it belongs. Change-Id: I5b8da74dc699f4afbeda41ee154eb1ba89dac292 --- M src/kudu/fs/log_block_manager.cc M src/kudu/fs/log_block_manager.h 2 files changed, 239 insertions(+), 241 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/69/6769/2 -- To view, visit http://gerrit.cloudera.org:8080/6769 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I5b8da74dc699f4afbeda41ee154eb1ba89dac292 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar Dembo <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]>
