This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push:
new 0f6025e7cb Fixed a case where exceptions was not thrown when Tablet
closing (#6358)
0f6025e7cb is described below
commit 0f6025e7cb96df9ef2ef00a11329e063c572eb5d
Author: Dave Marion <[email protected]>
AuthorDate: Tue May 5 07:19:53 2026 -0400
Fixed a case where exceptions was not thrown when Tablet closing (#6358)
All of the other checks in closeConsistencyCheck throw a
RuntimeException, but this check was missing it.
---
.../tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java | 1 +
1 file changed, 1 insertion(+)
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 1b2e5d6100..8798abde4c 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
@@ -1213,6 +1213,7 @@ public class Tablet extends TabletBase {
String msg = "Data files in " + extent + " differ from in-memory data "
+ tabletMeta.getFilesMap() + " " +
getDatafileManager().getDatafileSizes();
log.error(msg);
+ throw new RuntimeException(msg);
}
} catch (Exception e) {
String msg = "Failed to do close consistency check for tablet " + extent;