ctubbsii commented on a change in pull request #2240:
URL: https://github.com/apache/accumulo/pull/2240#discussion_r693310943



##########
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:
       What's the behavior with ZK exists if the parent path of 
deleteMarkerPath is gone? Does it just return false, or does it throw an error? 
If it returns false, we may want to handle that.




-- 
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]


Reply via email to