Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22415
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 Reviewed-on: http://gerrit.cloudera.org:8080/22079 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <[email protected]> (cherry picked from commit d405ad33080cc5b203e3789363a202d472aca795) --- 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 M src/kudu/util/process_memory.cc M src/kudu/util/process_memory.h 8 files changed, 141 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/22415/1 -- To view, visit http://gerrit.cloudera.org:8080/22415 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: branch-1.18.x Gerrit-MessageType: newchange Gerrit-Change-Id: Ic2037582d433730884212e83359bb75bad0d5394 Gerrit-Change-Number: 22415 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Ashwani Raina <[email protected]>
