From dddba9c9430bf58464ea0536ce2410d6de958c64 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Sun, 22 Nov 2026 00:10:51 -0800 Subject: [PATCH] PHOENIX-8099 Disable PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild The test fails rarely with a stale index row (null!=0) after all writers and rebuilds are done. With the old index design, two batches on one row can get the same millisecond timestamp. When a row delete and a later upsert of that row collide, HBase masks the upsert, but the index still writes a row with a null value. No later write removes that row. This is a known defect of the old index design and has no fix yet. Disable the test until the community decides on a product fix. Co-Authored-By: Claude Opus 5.5 --- .../apache/phoenix/end2end/index/PartialIndexRebuilderIT.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/PartialIndexRebuilderIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/PartialIndexRebuilderIT.java index 92dd1b9b938..b10754d1c31 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/PartialIndexRebuilderIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/PartialIndexRebuilderIT.java @@ -72,6 +72,7 @@ import org.apache.phoenix.util.TestUtil; import org.junit.After; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.experimental.categories.Category; import org.slf4j.Logger; @@ -212,6 +213,8 @@ public void run() { } @Test + @Ignore("The old index design can keep a stale index row when a delete and an upsert" + + " of one row get the same timestamp") public void testConcurrentUpsertsWithRebuild() throws Throwable { int nThreads = 5; final int batchSize = 200;