You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/02/18 00:37:57 UTC

[GitHub] [accumulo] ctubbsii commented on a change in pull request #1934: Stop recovery if tablet is being deleted

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



##########
File path: server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
##########
@@ -340,7 +340,7 @@ public Tablet(final TabletServer tabletServer, final KeyExtent extent,
 
     tabletMemory = new TabletMemory(this);
 
-    if (!logEntries.isEmpty()) {
+    if (!logEntries.isEmpty() && !isBeingDeleted()) {

Review comment:
       It's not clear without reading a bunch of code what thy this block is being skipped under these circumstances. A comment would help. Is this change just to avoid attempting WAL recovery on a table being deleted, if such a tablet is being loaded?




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

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