Yingchun Lai has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20178 )
Change subject: KUDU-3326 disable compaction for soft-deleted table ...................................................................... KUDU-3326 disable compaction for soft-deleted table The tables in the 'SOFT_DELETED' state will no longer process insert and update requests, so the compaction and other related operations will become redundant and also waste resources. In this patch, we added a post-operation to disable compaction for the soft-deleted operation and a post-operation to enable compaction for the recall process. To verify the correctness of the new logic, we also added new unit tests. Change-Id: I060810051613a19e6f5c6506effda2d698528839 Reviewed-on: http://gerrit.cloudera.org:8080/20178 Tested-by: Kudu Jenkins Reviewed-by: Yingchun Lai <[email protected]> --- M src/kudu/client/client-test.cc M src/kudu/master/catalog_manager.cc M src/kudu/master/catalog_manager.h M src/kudu/master/master-test.cc 4 files changed, 241 insertions(+), 49 deletions(-) Approvals: Kudu Jenkins: Verified Yingchun Lai: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/20178 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I060810051613a19e6f5c6506effda2d698528839 Gerrit-Change-Number: 20178 Gerrit-PatchSet: 8 Gerrit-Owner: KeDeng <[email protected]> Gerrit-Reviewer: KeDeng <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Yingchun Lai <[email protected]>
