Hello Adar Dembo, I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/4295 to review the following change. Change subject: KUDU-1495. Maintenance manager should not schedule new ops during unregister ...................................................................... KUDU-1495. Maintenance manager should not schedule new ops during unregister This fixes a bug where deleting a tablet could block for an extended time on compactions being scheduled if the maintenance manager was configured with multiple threads. The issue was that Unregister() waited for the number of running operations to reach 0 before removing the op from the candidate list of ops, but did not prevent new instances of that op from being scheduled. Change-Id: I3675705caf5b73f8a480036b974e4db6c205616a --- M src/kudu/tablet/tablet.cc M src/kudu/util/maintenance_manager-test.cc M src/kudu/util/maintenance_manager.cc M src/kudu/util/maintenance_manager.h 4 files changed, 74 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/95/4295/1 -- To view, visit http://gerrit.cloudera.org:8080/4295 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3675705caf5b73f8a480036b974e4db6c205616a Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>