Skip to content

PHOENIX-7838 LogicalTableNameBaseIT wrap admin.snapshot() in retry helper - #2455

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

PHOENIX-7838 LogicalTableNameBaseIT wrap admin.snapshot() in retry helper#2455
apurtell wants to merge 1 commit into
apache:masterfrom
apurtell:PHOENIX-7838

Conversation

@apurtell

Copy link
Copy Markdown
Contributor

Four LogicalTableNameBaseIT helpers call admin.snapshot() directly with a snapshot name deterministically derived from the table name, so RPC retries or concurrent forks produce duplicate in-flight requests that HMaster rejects with SnapshotCreationException "already running another snapshot on the same table", even though the original procedure still succeeds. The test bypasses ConnectionQueryServicesImpl.createSnapshot so the fix adds a snapshotWithRetry(admin, name, tableName) helper and routes all four call sites through it.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

Rebased on current master.

@palashc

Copy link
Copy Markdown
Contributor

Build aborted after 11h - started a new one https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-2455/

@palashcpalashc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1, pending build results

@apurtell
apurtell requested a balanced review from CopilotAugust 15, 2026 12:16

CopilotAI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for freeto 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.

3 participants

@apurtell@palashc