This is an automated email from the ASF dual-hosted git repository. dlmarion pushed a commit to branch elasticity in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/elasticity by this push: new 45653be366 Allow tablet refresh while in the process of closing (#4483) 45653be366 is described below commit 45653be36678c9f4fa970e7db819ad67c6b02113 Author: Keith Turner <ktur...@apache.org> AuthorDate: Tue Apr 23 07:27:47 2024 -0400 Allow tablet refresh while in the process of closing (#4483) There was check in the tablet refresh code that was preventing tablet refresh while a tablet was in the middle of closing. Modified the check to only prevent refresh after a tablet is competely closed. fixes #4477 --- .../src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java | 2 +- 1 file changed, 1 insertion(+), 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 348807f161..38cd3cff18 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 @@ -1635,7 +1635,7 @@ public class Tablet extends TabletBase { } synchronized (this) { - if (isClosed()) { + if (isCloseComplete()) { log.debug("Unable to refresh tablet {} for {} because the tablet is closed", extent, refreshPurpose); return false;