cshannon commented on code in PR #4558:
URL: https://github.com/apache/accumulo/pull/4558#discussion_r1605523442


##########
server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java:
##########
@@ -164,9 +167,10 @@ public long getDataSourceDeletions() {
   }
 
   private enum CloseState {
-    OPEN, CLOSING, CLOSED, COMPLETE
+    OPEN, REQUESTED, CLOSING, CLOSED, COMPLETE
   }
 
+  private volatile long closeRequestTime = 0;

Review Comment:
   This does not need to be volatile because it is only accessed inside of the 
synchronized block inside initiateClose()



-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to