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


Change subject: [compaction] Add memory tracking for better OOM issues triaging
......................................................................

[compaction] Add memory tracking for better OOM issues triaging

This patch adds memory accounting for Major Delta Compaction.
The same memory usage is tracked under newly added MemTracker.
Along with that throttled warning messages are added when the
memory usage goes beyond a certain threshold.

A unit test is added to verify the presence of warning messages
when memory threshold (reduced for test purpose) is crossed.

Change-Id: Ic2037582d433730884212e83359bb75bad0d5394
---
M src/kudu/common/rowblock_memory.h
M src/kudu/tablet/compaction-highmem-test.cc
M src/kudu/tablet/delta_compaction.cc
M src/kudu/tablet/delta_compaction.h
M src/kudu/tablet/delta_store.h
M src/kudu/tablet/deltafile.cc
6 files changed, 108 insertions(+), 7 deletions(-)



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

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

Reply via email to