ctubbsii commented on code in PR #4889:
URL: https://github.com/apache/accumulo/pull/4889#discussion_r1764174515


##########
server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java:
##########
@@ -1087,8 +1088,23 @@ public boolean needsRecovery(TabletMetadata 
tabletMetadata) {
       return false;
     }
 
+    // This method is called prior to volumes being switched for a tablet 
during the load process,
+    // so switch volumes for the needs recovery check.

Review Comment:
   ```suggestion
       // This method is called prior to volumes being switched for a tablet 
during the load process,
       // so switch volumes first and use that before calling needsRecovery()
   ```



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