Andrew Kyle Purtell created PHOENIX-7838:
--------------------------------------------

             Summary: LogicalTableNameBaseIT wrap admin.snapshot() in retry 
helper
                 Key: PHOENIX-7838
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7838
             Project: Phoenix
          Issue Type: Sub-task
          Components: test
            Reporter: Andrew Kyle Purtell
            Assignee: Andrew Kyle Purtell
             Fix For: 5.4.0, 5.3.1


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to