Promotion followed by rebuild works
Make sure that recovery.conf file does not exist after promotion.
The file is renamed to recovery.done, like in upstream.
@@ -116,7 +116,6 @@ HandleFtsWalRepSyncRepOff(void)
(errmsg("turning off synchronous wal replication due to FTS request")));
UnsetSyncStandbysDefined();
GetMirrorStatus(&response);
-
SendFtsResponse(&response, FTS_MSG_SYNCREP_OFF);
}
