Hello Tidy Bot, Alexey Serbin, Kudu Jenkins,

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

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

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

Change subject: KUDU-3318 [fs] Add size limit for log block container metadata
......................................................................

KUDU-3318 [fs] Add size limit for log block container metadata

In some cases, log block container's data file is very small
after punching hole, while metadata file is relatively large
cause it contains many CREATE-DELETE pairs. LBM will reclaim
container files (.data and .metadata) when the container is
full (reach .data file offset limitation, or reach block number
limitation) and no live blocks left. Before reaching the reclaim
condition the metadata file will continuous consume disk space.
This patch add a size limit to log block container's metadata,
make it more easy to reach container's 'full' condition, and
then more opportunity to be reclaimed, to avoid wasting too much
disk space.

Change-Id: I12513abf2e45f7bdf091142c31f50d650b6f0cfc
---
M src/kudu/fs/log_block_manager-test.cc
M src/kudu/fs/log_block_manager.cc
M src/kudu/util/pb_util.cc
M src/kudu/util/pb_util.h
4 files changed, 55 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/37/17837/5
--
To view, visit http://gerrit.cloudera.org:8080/17837
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I12513abf2e45f7bdf091142c31f50d650b6f0cfc
Gerrit-Change-Number: 17837
Gerrit-PatchSet: 5
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yingchun Lai <[email protected]>

Reply via email to