mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Logging fixes
This commit is contained in:
7
repmgr.c
7
repmgr.c
@@ -1924,7 +1924,7 @@ do_standby_promote(void)
|
|||||||
create_event_record(NULL,
|
create_event_record(NULL,
|
||||||
&options,
|
&options,
|
||||||
options.node,
|
options.node,
|
||||||
"repmgrd_failover_promote",
|
"standby_promote",
|
||||||
false,
|
false,
|
||||||
details.data);
|
details.data);
|
||||||
|
|
||||||
@@ -1937,7 +1937,10 @@ do_standby_promote(void)
|
|||||||
"Node %i was successfully promoted to master",
|
"Node %i was successfully promoted to master",
|
||||||
options.node);
|
options.node);
|
||||||
|
|
||||||
log_notice(_("STANDBY PROMOTE successful. You should REINDEX any hash indexes you have.\n"));
|
log_notice(_("STANDBY PROMOTE successful\n"));
|
||||||
|
|
||||||
|
/* XXX this is probably misleading */
|
||||||
|
log_hint(_("You should REINDEX any hash indexes you have.\n"));
|
||||||
|
|
||||||
/* Log the event */
|
/* Log the event */
|
||||||
create_event_record(conn,
|
create_event_record(conn,
|
||||||
|
|||||||
Reference in New Issue
Block a user