Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/18503 )
Change subject: KUDU-3367 [compaction] add supplement to gc algorithm ...................................................................... KUDU-3367 [compaction] add supplement to gc algorithm If we get a REDO delta full of delete ops, which means there is not a single update operation in the delta. The current compaction algorithm doesn't run GC on such deltamemstores. The accumulation of deltamemstores like that negatively affects performance of scan operations. This patch as a supplement to KUDU-1625, we could release storage space for old tablet metadata that does not support the live count function. See KUDU-3367 for details. Change-Id: I8b26737dffecc17688b42188da959b2ba16351ed Reviewed-on: http://gerrit.cloudera.org:8080/18503 Reviewed-by: Alexey Serbin <[email protected]> Tested-by: Alexey Serbin <[email protected]> --- M src/kudu/tablet/delta_tracker.cc M src/kudu/tablet/delta_tracker.h M src/kudu/tablet/diskrowset-test-base.h M src/kudu/tablet/diskrowset-test.cc M src/kudu/tablet/diskrowset.cc 5 files changed, 140 insertions(+), 12 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/18503 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I8b26737dffecc17688b42188da959b2ba16351ed Gerrit-Change-Number: 18503 Gerrit-PatchSet: 36 Gerrit-Owner: KeDeng <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: KeDeng <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Reviewer: Yingchun Lai <[email protected]>
