Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/16580 )
Change subject: KUDU-3149: don't block op registration on MM mutex ...................................................................... Patch Set 8: (1 comment) http://gerrit.cloudera.org:8080/#/c/16580/8/src/kudu/util/maintenance_manager.cc File src/kudu/util/maintenance_manager.cc: http://gerrit.cloudera.org:8080/#/c/16580/8/src/kudu/util/maintenance_manager.cc@283 PS8, Line 283: CHECK_GT(num_erased_ops, 0); > Ah, your point was that UnregisterOp() shouldn't be called more than once p Right. OK, if UnregisterOp() shouldn't be called more than once per operation and we want to assert than, then I guess we can keep that CHECK_GT(). But I guess these checks might be gone once the 'delete this' practice is eliminated from the code. -- To view, visit http://gerrit.cloudera.org:8080/16580 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I4a1b810f5b7ff6a22acc9b10b79ddffa8085c990 Gerrit-Change-Number: 16580 Gerrit-PatchSet: 8 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Comment-Date: Mon, 19 Oct 2020 22:48:39 +0000 Gerrit-HasComments: Yes
