Hello Tidy Bot, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#2).

Change subject: [bootstrap] Reduce the memory size consumed when bootstrap
......................................................................

[bootstrap] Reduce the memory size consumed when bootstrap

When a tserver bootstrap, it will load all tablets metadata,
and will find out the maximum fs block id it seen to notify
the block manager to avoid generating duplicate ids.
However, a tablet may contains a large number of blocks,
that means it will consume a large amount of memory when
tablets parellel loaded when tserver bootstrap.
This patch optimize it to only find the maximum block id
of a tablet, instead of temporary store all block ids in
memory.

Change-Id: If4df35f63e99a3f8331da51114991515ea4ee496
---
M src/kudu/tablet/rowset_metadata.cc
M src/kudu/tablet/rowset_metadata.h
M src/kudu/tablet/tablet_metadata-test.cc
M src/kudu/tablet/tablet_metadata.cc
M src/kudu/tablet/tablet_metadata.h
5 files changed, 64 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/24/18924/2
--
To view, visit http://gerrit.cloudera.org:8080/18924
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If4df35f63e99a3f8331da51114991515ea4ee496
Gerrit-Change-Number: 18924
Gerrit-PatchSet: 2
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to