Skip to content

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

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

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

Conversation

@apurtell
Copy link
Copy Markdown
Contributor

@apurtell apurtell commented May 2, 2026

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.

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.

1 participant