Ian Barwick
ce229beff8
repmgrd: add configuration option "always_promote"
...
In certain corner cases, it's possible repmgrd may end up monitoring
a standby which was a former primary, but the node record has not
yet been updated.
Previously repmgrd would abort the promotion with a cryptic message
about being unable to find a node record for node_id -1 (the
default value for an unknown node id).
This commit addes a new configuration option "always_promote", which
determines whether repmgrd should promote the node in this case.
The default is "false", to effectively maintain the existing behaviour.
Logging output has also been improved to make it clearer what has
happened when this situation occurs.
2020-09-29 14:18:00 +09:00
..
2019-05-30 19:58:06 +09:00
2020-09-04 11:37:12 +09:00
2020-04-14 12:32:59 +09:00
2020-09-29 14:18:00 +09:00
2019-05-20 15:38:40 +09:00
2019-10-24 09:42:23 +09:00
2019-01-23 10:28:48 +09:00
2020-08-31 17:18:41 +09:00
2019-05-20 15:38:40 +09:00
2020-01-16 09:52:42 +09:00
2019-06-07 12:16:04 +09:00
2019-05-20 15:38:40 +09:00
2020-09-18 16:27:52 +09:00
2020-08-19 10:32:34 +09:00
2020-03-10 14:26:27 +09:00
2020-08-31 17:18:41 +09:00
2020-01-16 09:52:42 +09:00
2020-03-18 17:08:49 +09:00
2019-05-20 15:38:40 +09:00
2020-01-24 10:29:40 +09:00
2020-09-18 11:40:47 +09:00
2020-01-24 10:29:40 +09:00
2019-05-20 15:38:40 +09:00
2020-01-13 14:06:20 +09:00
2020-04-20 15:40:13 +09:00
2019-05-20 15:38:40 +09:00
2019-05-20 15:38:40 +09:00
2020-03-06 17:41:19 +09:00
2019-05-20 15:38:40 +09:00
2019-05-20 15:38:40 +09:00
2019-05-30 14:19:37 +09:00
2019-05-20 15:38:40 +09:00
2020-02-26 16:02:08 +09:00
2019-08-30 11:51:32 +09:00
2019-08-30 11:51:32 +09:00
2020-04-17 11:53:56 +09:00
2020-09-15 14:21:14 +09:00
2020-03-24 17:25:34 +09:00
2019-05-20 15:38:40 +09:00
2019-10-25 12:43:39 +09:00
2020-09-23 15:12:19 +09:00
2019-08-30 12:07:37 +09:00
2019-08-30 12:07:37 +09:00
2019-08-30 12:07:37 +09:00
2020-09-03 10:40:32 +09:00
2019-08-13 11:49:52 +09:00
2020-04-20 12:14:47 +09:00
2019-10-18 14:44:57 +09:00
2020-09-04 11:37:12 +09:00
2019-05-20 15:38:40 +09:00
2020-08-06 09:50:19 +09:00
2019-05-20 15:38:40 +09:00
2020-09-04 11:37:12 +09:00
2020-09-17 15:48:18 +09:00
2020-09-29 14:18:00 +09:00
2019-11-19 21:57:17 +09:00
2020-05-15 10:33:47 +09:00
2019-08-28 15:52:14 +09:00
2019-05-09 16:24:21 +09:00
2019-05-13 15:42:51 +09:00
2019-05-09 16:24:21 +09:00
2019-05-09 16:24:26 +09:00
2019-05-09 16:24:21 +09:00
2019-05-09 16:24:21 +09:00
2019-05-09 16:24:41 +09:00
2017-10-05 10:30:28 +09:00
2019-05-09 16:24:21 +09:00
2020-09-04 11:37:12 +09:00
2019-01-23 10:28:48 +09:00
2020-08-06 09:50:23 +09:00
2019-05-09 16:24:41 +09:00