HomeClusterLabs Projects

pgsql: perform delete of replication slots during start in replication mode

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

pgsql: perform delete of replication slots during start in replication mode

This fix an issue when the dead old master keeps the replication slots on restart (if cleanup was not done manually)

The initialization of slots on Master will be done during promotion.
As stated by pacemaker documentation:
"when the resource is started, it must come up in the mode called slave. From there the cluster will decide which instances to promote to master"
this guarantees that the Master always has the slots available when slave nodes try to connect to it

Details

Provenance
Gianluca De Cicco <gnlcdccc@gmail.com>Authored on Mar 25 2017, 2:16 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.