dlmarion commented on a change in pull request #2240:
URL: https://github.com/apache/accumulo/pull/2240#discussion_r694038072
##########
File path:
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/compact/CompactionDriver.java
##########
@@ -82,6 +82,14 @@ public long isReady(long tid, Manager manager) throws
Exception {
TableOperation.COMPACT, TableOperationExceptionType.OTHER,
"Compaction canceled");
}
+ String deleteMarkerPath = Constants.ZROOT + "/" + manager.getInstanceID()
+ Constants.ZTABLES
+ + "/" + tableId + Constants.ZTABLE_DELETE_MARKER;
+ if (zoo.exists(deleteMarkerPath, null)) {
Review comment:
It would appear that `ZooKeeper.exists` returns `null` when a NONODE
exception is returned by the ZK Server to the client. ZooReader returns false
when null is returned.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]