!2429 dcf模式下不支持gs_ctl failover操作
Merge pull request !2429 from 薛蒙恩/dcf_dpp
This commit is contained in:
@ -2141,6 +2141,11 @@ static void do_failover(uint32 term)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (g_dcfEnabled) {
|
||||
pg_log(PG_WARNING, _("Failover is not supported in dcf mode.\n"));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!do_wait) {
|
||||
pg_log(PG_WARNING, _(" server starting failover\n"));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user