This is an automated email from the ASF dual-hosted git repository. virajjasani pushed a commit to branch 5.3 in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit d160cc0d15e9c73db1e4fd88cd9d105f9c2bfd6e Author: Andrew Purtell <[email protected]> AuthorDate: Tue Jun 30 15:54:57 2026 -0700 PHOENIX-7830 De-flake MutableIndexFailureIT (#2447) --- .../java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java index 13a514f330..80eca6a4c9 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java @@ -103,7 +103,6 @@ public class MutableIndexFailureIT extends BaseTest { private static final Logger LOGGER = LoggerFactory.getLogger(MutableIndexFailureIT.class); - public static volatile boolean FAIL_WRITE = false; public static volatile String fullTableName; private String tableName; @@ -415,7 +414,7 @@ public class MutableIndexFailureIT extends BaseTest { } } finally { - FAIL_WRITE = false; + FailingRegionObserver.FAIL_WRITE = false; } } @@ -611,7 +610,7 @@ public class MutableIndexFailureIT extends BaseTest { } public static class FailingRegionObserver extends SimpleRegionObserver { - public static boolean TOGGLE_FAIL_WRITE_FOR_RETRY = false; + public static volatile boolean TOGGLE_FAIL_WRITE_FOR_RETRY = false; public static volatile boolean FAIL_WRITE = false; public static volatile boolean FAIL_NEXT_WRITE = false; public static final String FAIL_INDEX_NAME = "FAIL_IDX";
