fts_unblock_primary: catch synchronous_standby_names inconsistencies
synchronous_standby_names is set on the first FTS probe after starting the cluster, and it's written to disk, but it doesn't actually get persisted in memory on all cluster processes. The backend that "sets" the value exits without SIGHUP'ing the cluster, and it therefore "resets" to the empty string. If you're lucky enough to restart the cluster after this point, everything works as expected, but until then the cluster is in a strange state. This test (which currently fails) verifies that the synchronous_standby_names GUC is actually set appropriately on the segment.
Showing
想要评论请 注册 或 登录