dalibo / pgsql-resource-agent

Simple Pacemaker OCF Agent for two PostgreSQL servers in streaming replication
Other
11 stars 4 forks source link

perl pgsqlms - Check if a secondary is connected before demoting primary #16

Closed mrimbault closed 8 years ago

mrimbault commented 9 years ago

In sub pgsql_demote, we need to make sure that at least one secondary is connected between demoting the primary. If there is none, we should not demote the instance ("soft" failure ?).

ioguix commented 8 years ago

pgsqlms moved to its own repo