Repository navigation
PHOENIX-8109 System table snapshot upgrade tests should turn off the HBase rolling upgrade chore - #2741
Open
apurtell wants to merge 1 commit into
Open
PHOENIX-8109 System table snapshot upgrade tests should turn off the HBase rolling upgrade chore#2741apurtell wants to merge 1 commit into
apurtell wants to merge 1 commit into
Conversation
…HBase rolling upgrade chore The tests restore SYSTEM table snapshots that have no store file tracker setting. The HBase rolling upgrade chore adds the setting and changes the table descriptors during the Phoenix upgrade. The Phoenix descriptor poll then never sees the descriptor it waits for, and it times out. Turn off the chore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the test-only change disabling the interfering HBase rolling upgrade chore.
No open issues 🎉
What changed in this PR
This test-only change addresses snapshot-based system table upgrade timeouts caused by HBase concurrently modifying table descriptors.
Changes:
- Disables the HBase rolling upgrade chore in shared snapshot test setup by setting its period to
0. - Documents why the chore interferes with Phoenix upgrades.
| File | Description |
|---|---|
| phoenix-core/src/it/java/org/apache/phoenix/end2end/LoadSystemTableSnapshotBase.java | Disables the chore for snapshot upgrade tests and explains the setting. |
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) |
Contributor
Author
|
Update to the precommit note above: the HA call queue stall is now PHOENIX-8119, with the fix in #2751. The HA test clusters now use a default call queue that has no fast path handoff, so this race cannot occur on the queue that served the stalled scan. (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.
Some upgrade tests restore system table snapshots. In CI, they failed with a timeout during the catalog upgrade. The snapshots do not set a store file tracker, so the HBase rolling upgrade chore adds this setting to their descriptors. In the failing run, the chore changed the catalog descriptor just after the Phoenix upgrade changed it. The Phoenix upgrade waits for an exact descriptor match, so the wait times out.
This change is test-only. The shared base class turns off the rolling upgrade chore, so only Phoenix changes the restored descriptors. A real catalog upgrade soon after an upgrade from HBase 2.4 can hit the same wait. That product case is a separate discussion.
🤖 Generated with Claude Code