Todd Lipcon has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/8904 )
Change subject: KUDU-2238. DMS not flush under memory pressure. ...................................................................... KUDU-2238. DMS not flush under memory pressure. When we choose DMS to flush, now we always pick the DMS with highest log retention. However, as KUDU-2238 shows, in some cases DMS with highest log retention may only consume little memory, and other DMSs may consume much more memory, but get no chance to be flushed, even under memory pressure. This patch gives the ability to take memory consumption into consideration when we choose DMS. Change-Id: I0c04d76aa0e3888352dc56eeb493a5437ef47e42 Reviewed-on: http://gerrit.cloudera.org:8080/8904 Reviewed-by: Todd Lipcon <[email protected]> Tested-by: Kudu Jenkins --- M src/kudu/tablet/tablet.cc M src/kudu/tablet/tablet.h M src/kudu/tablet/tablet_replica_mm_ops.cc 3 files changed, 18 insertions(+), 8 deletions(-) Approvals: Todd Lipcon: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/8904 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I0c04d76aa0e3888352dc56eeb493a5437ef47e42 Gerrit-Change-Number: 8904 Gerrit-PatchSet: 5 Gerrit-Owner: zhen.zhang <[email protected]> Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: zhen.zhang <[email protected]>
