Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14650


Change subject: wip KUDU-2929: don't do nothing when under memory pressure
......................................................................

wip KUDU-2929: don't do nothing when under memory pressure

When we're under memory pressure, we may exit early from considering
ops if there are none that we know will free memory. This might be
because we don't want to spend more memory performing an op when we are
already under memory pressure.

While nice in theory, I don't think this holds up in production. Yes, we
want to prioritize ops that definitely free memory over those that might
not, but doing _something_ seems better than nothing.

So rather than returning early if there aren't ops that free memory,
let's continue walking through valid ops.

wip: I need to test this on a real cluster.

Change-Id: I030f9ef379af501fe7bd2f42906ec2f9ea16dbde
---
M src/kudu/util/maintenance_manager.cc
1 file changed, 2 insertions(+), 9 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I030f9ef379af501fe7bd2f42906ec2f9ea16dbde
Gerrit-Change-Number: 14650
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to