mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
standby switchover: improve wording of pending archive file messages
This commit is contained in:
@@ -3988,7 +3988,7 @@ do_standby_switchover(void)
|
|||||||
exit(ERR_SWITCHOVER_FAIL);
|
exit(ERR_SWITCHOVER_FAIL);
|
||||||
}
|
}
|
||||||
|
|
||||||
log_warning(_("number of pending archive files on demotion candidate \"%s\" is critical"),
|
log_warning(_("number of pending archive files on demotion candidate \"%s\" exceeds the critical threshold"),
|
||||||
remote_node_record.node_name);
|
remote_node_record.node_name);
|
||||||
log_detail(_("%i pending archive files (critical threshold: %i)"),
|
log_detail(_("%i pending archive files (critical threshold: %i)"),
|
||||||
files, threshold);
|
files, threshold);
|
||||||
@@ -3998,7 +3998,7 @@ do_standby_switchover(void)
|
|||||||
|
|
||||||
case CHECK_STATUS_WARNING:
|
case CHECK_STATUS_WARNING:
|
||||||
{
|
{
|
||||||
log_warning(_("number of pending archive files on demotion candidate \"%s\" is warning"),
|
log_warning(_("number of pending archive files on demotion candidate \"%s\" exceeds the warning threshold"),
|
||||||
remote_node_record.node_name);
|
remote_node_record.node_name);
|
||||||
log_detail(_("%i pending archive files (warning threshold: %i)"),
|
log_detail(_("%i pending archive files (warning threshold: %i)"),
|
||||||
files, threshold);
|
files, threshold);
|
||||||
|
|||||||
Reference in New Issue
Block a user