Repository navigation
Conversation
Contributor
Author
|
Rebased on current master. |
Contributor
|
Build aborted after 11h - started a new one https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-2455/ |
palashc
approved these changes
Jun 30, 2026
palashc
left a comment
Contributor
There was a problem hiding this comment.
+1, pending build results
…for snapshots HBase 2.5 LockProcedure can lose the wakeup that releases a table lock. The snapshot handler releases its exclusive lock inside this window. The lock then stays held until the local master lock timeout of 10 minutes. The client snapshot call times out, and its retries fail with "already running another snapshot". Set the local master lock timeout to 30 seconds in the test cluster. A lost wakeup then costs at most 30 seconds, which is less than the client RPC timeout, so the first snapshot call completes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apurtell
force-pushed
the
PHOENIX-7838
branch
from
November 24, 2026 20:17
1d74eac to
d42dd37
Compare
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.
LogicalTableNameIT and LogicalTableNameExtendedIT fail on the HBase 2.5 profile with
SnapshotCreationException("already running another snapshot on the same table").Cause: HBase 2.5
LockProcedurehas a lost wakeup.execute()checks the unlock flag outsidesynchronized(event), andunlock()wakes the procedure only if it is suspended.TakeSnapshotHandler.preparein HBase 2.5 releases its exclusive table lock inside this window. The lock procedure then holds the table lock until the local master lock timeout (10 minutes). The client snapshot call times out after 60 seconds, and each retry is rejected because the first snapshot is still in progress.Change: set
hbase.master.procedure.local.master.locks.timeout.msto 30000 in the test cluster. A lost wakeup now costs at most 30 seconds, which is less than the client RPC timeout, so the snapshot completes on the first call. This PR no longer adds the snapshot retry helper, because a retry cannot complete until the lock times out. The branch is rebased onto the latest master.Updated by Claude Code on behalf of Andrew Purtell.
🤖 Generated with Claude Code