Ashwani Raina has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19246


Change subject: WIP [compact] Increase chances of compaction for large number 
deltas
......................................................................

WIP [compact] Increase chances of compaction for large number deltas

Current behavior of maintenance manager is based on various factors
before choosing a specific op to be scheduled.
There is a case where number of deltas will keep on flushing and
get accumulated over time. Eventually, that makes it more difficult
for compaction op to process that much data and thereby consuming a
lot of memory. In some case, kernel killing the process because of
high memory usage.

To fix this, weight is given to the compaction op if such a case
arises i.e. accumulation of deltas is huge.

Change-Id: I2199ae3b777e75b15b60d8ad818cc6adc4f5fa3b
---
M src/kudu/tablet/delta_tracker.cc
M src/kudu/tablet/delta_tracker.h
M src/kudu/tablet/diskrowset.cc
M src/kudu/tablet/diskrowset.h
M src/kudu/tablet/memrowset.h
M src/kudu/tablet/mock-rowsets.h
M src/kudu/tablet/rowset.h
M src/kudu/tablet/tablet.cc
M src/kudu/tablet/tablet.h
M src/kudu/tablet/tablet_mm_ops.cc
10 files changed, 85 insertions(+), 3 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2199ae3b777e75b15b60d8ad818cc6adc4f5fa3b
Gerrit-Change-Number: 19246
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <[email protected]>

Reply via email to