You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2021/02/17 13:33:06 UTC

[accumulo] branch main updated: Stop user flush if table is being deleted (#1931)

This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 287a1bd  Stop user flush if table is being deleted (#1931)
287a1bd is described below

commit 287a1bd4c9729ad3b738db91942f3841e852d523
Author: Mike Miller <mm...@apache.org>
AuthorDate: Wed Feb 17 08:32:57 2021 -0500

    Stop user flush if table is being deleted (#1931)
---
 .../src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
index f4eb7f9..7605500 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
@@ -843,7 +843,8 @@ public class Tablet {
           return;
         }
 
-        if (isClosing() || isClosed() || getTabletMemory().memoryReservedForMinC()) {
+        if (isClosing() || isClosed() || isBeingDeleted()
+            || getTabletMemory().memoryReservedForMinC()) {
           return;
         }