Skip to content

PHOENIX-8099 Disable PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild - #2731

Open
apurtell wants to merge 1 commit into
apache:masterfrom
apurtell:PHOENIX-8099
Open

apurtell wants to merge 1 commit into
apache:masterfrom
apurtell:PHOENIX-8099

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This test fails rarely in its final scrutiny check, because an index row has a null column value. PHOENIX-4715 reports the same symptom. The test uses the old index design. That design gives all cells of a batch one server timestamp, so two batches on one row can get the same millisecond. When a delete and the next upsert collide, HBase masks the upsert, but the index still gets a row for it. The next upsert does not delete that orphan row. The default index design gives such batches different timestamps and is not affected.

The change is test-only and disables this one test. The other tests in the class still run. A product fix for the old design needs a separate discussion.

🤖 Generated with Claude Code

…hRebuild

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 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the test-only change disabling the intermittently failing integration test.

No open issues 🎉

What changed in this PR

Disables one intermittently failing integration test affected by timestamp collisions in the old index design. No production code changes.

Changes:

  • Adds @Ignore to testConcurrentUpsertsWithRebuild, explaining the stale-index-row failure.
  • Leaves the other tests in the class enabled.
File Description
phoenix-core/​src/​it/​java/​org/​apache/​phoenix/​end2end/​index/​PartialIndexRebuilderIT.java Imports Ignore and disables the affected test with an explanatory reason.

Review effort: Balanced

@apurtell

apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Precommit note: the failures in this run are not related to this change. Each one is a known problem on master.

(Claude Code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants