Geo: Check if primary can be contacted from secondary
Problem to solve
The primary node must be offline or in maintenance before promoting a secondary to prevent a split brain situation. We should test if the secondary can connect to the primary as part of the preflight checks. If a connection is working, we should abort
Proposal
- Re-use code already present in Geo checks
- Check if Primary is accessible
- If connection is live, fail check
- Inform user that primary can be contacted and that a split brain situation can happen
- Link to documentation
Edited by Fabian Zimmer