Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/19519 )

Change subject: [LBM] append CREATE/DELETE records in batch to metadata
......................................................................

[LBM] append CREATE/DELETE records in batch to metadata

Minor code refactor to append CREATE/DELETE records
in batch to metadata, without any functional changes.

This is a sub-task of KUDU-3371, updating metadata in
batch will be beneficial to record metadata in RocksDB.

Since there is no functional changes, so this patch
doesn't add new tests, but make sure all tests passed.

The simple benchmark LogBlockManagerTest.StartupBenchmark
shows that there is about 5% time reduced for
'create blocks' and 'delete blocks' stages.

Change-Id: Ie24adab3b1dbbea55108a1f525093136fcf5a726
Reviewed-on: http://gerrit.cloudera.org:8080/19519
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
---
M src/kudu/fs/log_block_manager.cc
1 file changed, 104 insertions(+), 55 deletions(-)

Approvals:
  Alexey Serbin: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/19519
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie24adab3b1dbbea55108a1f525093136fcf5a726
Gerrit-Change-Number: 19519
Gerrit-PatchSet: 14
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: KeDeng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Wang Xixu <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Yuqi Du <[email protected]>

Reply via email to