Issues
Orchestrator RestartReplicationQuick fails with Error 1065 (query was empty)
Done
General
Escalation
General
Escalation
Description
Environment
None
AFFECTED CS IDs
CS0050200
Details
Assignee
Kamil HolubickiKamil HolubickiReporter
Juan ArrutiJuan ArrutiLabels
Planned Version/s
Needs QA
NoComponents
Sprint
NoneAffects versions
Priority
Medium
Details
Details
Assignee
Kamil Holubicki
Kamil HolubickiReporter
Juan Arruti
Juan ArrutiLabels
Planned Version/s
Needs QA
No
Components
Sprint
None
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created October 23, 2024 at 12:41 AM
Updated January 14, 2025 at 10:17 AM
Resolved November 8, 2024 at 9:05 AM
Activity
Kamil HolubickiNovember 8, 2024 at 9:05 AM
Will be fixed by DISTMYSQL-466
If Orchestrator host can't access Source database, and the Replica is lagging behind, it will call runEmergentOperations, case UnreachableMasterWithLaggingReplicas, and finally will fail when calling RestartReplicationQuick with the following error:
How to repeat:
Deploy latest Percona Orchestrator
You can set the Orchestrator option ReplicationLagQuery to produce lag artificially:
On Source create the status table:
On Source, prevent Orchestrator node from connecting the server:
I also tested using percona-orchestrator-3.2.6-13.el8.x86_64.rpm package and I don't see this issue.