Done
Details
Details
Assignee
Kamil Holubicki
Kamil HolubickiReporter
Dov Endress
Dov EndressLabels
Planned Version/s
Needs QA
No
In progress time
1
Time tracking
No time logged1d remaining
Components
Sprint
None
Fix versions
Priority
Created October 24, 2024 at 10:33 PM
Updated January 14, 2025 at 10:18 AM
Resolved November 12, 2024 at 9:38 AM
A customer runs multiple clusters of orchestrator to manage discovery of many mysql hosts. Two of three clusters are set with recovery disabled globally. However, the disabled clusters will still call RestartReplicationQuick and perform recovery.
The flow of the code is:
executeCheckAndRecoverFunction
-> runEmergentOperations
-> emergentlyRestartReplicationOnTopologyInstanceReplicas
-> emergentlyRestartReplicationOnTopologyInstance
-> emergentlyRestartReplicationOnTopologyInstance
-> RestartReplicationQuick
-> IsRecoveryDisabled
There is no check around the call to RestartReplicationQuick for IsRecoveryDisabled:
Suggested fix:
Perform IsRecoveryDisabled check prior to initiating RestartReplicationQuick.