We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd0174 commit d9b7748Copy full SHA for d9b7748
script/pgsqlms
@@ -1393,9 +1393,7 @@ sub pgsql_promote {
1393
1394
$rc = pgsql_monitor();
1395
1396
- # FIXME why search for a recovery.conf file at this point ?
1397
- # should this test be added to the monitor ?
1398
- if ( $rc == $OCF_RUNNING_MASTER and not -f "$pgdata/recovery.conf" ) {
+ if ( $rc == $OCF_RUNNING_MASTER ) {
1399
ocf_log( 'info', 'pgsql_promote: promote complete' );
1400
1401
# Set the "primary_node" resource parameter to the promoted node name.
0 commit comments