mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-28 01:16:29 +00:00
Misc comment and log output corrections
This commit is contained in:
@@ -2261,7 +2261,7 @@ do_standby_follow(void)
|
|||||||
*/
|
*/
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
log_notice(_("attempting find to follow current primary"));
|
log_notice(_("attempting to find and follow current primary"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -2274,7 +2274,6 @@ do_standby_follow(void)
|
|||||||
* XXX add `upstream_follow_timeout` ?
|
* XXX add `upstream_follow_timeout` ?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
for (timer = 0; timer < config_file_options.primary_follow_timeout; timer++)
|
for (timer = 0; timer < config_file_options.primary_follow_timeout; timer++)
|
||||||
{
|
{
|
||||||
/* --upstream-node-id provided - connect to specified node*/
|
/* --upstream-node-id provided - connect to specified node*/
|
||||||
@@ -2416,7 +2415,10 @@ do_standby_follow(void)
|
|||||||
termPQExpBuffer(&node_info_msg);
|
termPQExpBuffer(&node_info_msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if replication slots in use, check at least one free slot is available */
|
/*
|
||||||
|
* if replication slots in use, check at least one free slot is available
|
||||||
|
* on the follow target
|
||||||
|
*/
|
||||||
|
|
||||||
if (config_file_options.use_replication_slots)
|
if (config_file_options.use_replication_slots)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user