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


Change subject: [compaction] Skip memory allocation for ancient undo deltas
......................................................................

[compaction] Skip memory allocation for ancient undo deltas

Currently, while applying REDO mutations to base row and create
corresponding UNDO deltas for each REDO mutation, we don't check
whether any mutation is ancient that is anyway going to be ignored
and removed from list of UNDO deltas in later stage of processing.
This change checks each REDO mutation beforehand and doesn't allocate
any memory if found ancient. This avoids unnecessary memory usage.

Change-Id: Ibb41636a3ac063478fe181560d4ec85dadeb0ef3
---
M src/kudu/tablet/compaction.cc
M src/kudu/tablet/compaction.h
M src/kudu/tablet/delta_compaction.cc
3 files changed, 57 insertions(+), 15 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb41636a3ac063478fe181560d4ec85dadeb0ef3
Gerrit-Change-Number: 20546
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <ara...@cloudera.com>

Reply via email to