Repository navigation
Conversation
…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>
There was a problem hiding this comment.
🟢 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
@IgnoretotestConcurrentUpsertsWithRebuild, 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
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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