Detect changes to configuration file

This will prevent unnecessary reconnects to the upstream and
updates of the node record on the primary.
This commit is contained in:
Ian Barwick
2015-02-10 12:20:48 +09:00
parent 4f36b2c085
commit 1803a16c7e
2 changed files with 165 additions and 23 deletions

View File

@@ -376,7 +376,7 @@ main(int argc, char **argv)
case WITNESS:
case STANDBY:
/* We need the node id of the upstream server as well as a connection to it */
/* We need the node id of the primary server as well as a connection to it */
log_info(_("%s Connecting to primary for cluster '%s'\n"),
progname, local_options.cluster_name);