Commit Graph

  • fd5dfa2ebc Document "archiver_lag_*" configuration settings. Ian Barwick 2017-08-08 00:50:12 +09:00
  • 2499b42ef8 switchover: check for pending archive files on the demotion candidate Ian Barwick 2017-08-08 00:37:20 +09:00
  • 068ecc963d Minor log output fix Ian Barwick 2017-08-04 23:58:15 +09:00
  • 20eeeef884 don't try and drop non-existent slot after switchover Ian Barwick 2017-08-04 14:20:38 +09:00
  • 972f8394ff Fix slot deletion after switchover Ian Barwick 2017-08-04 13:16:46 +09:00
  • 82639b6903 Refactor slot name handling Ian Barwick 2017-08-04 11:19:19 +09:00
  • 2c682b31c2 Attempt to delete replication slot on old primary after switchover Ian Barwick 2017-08-04 09:29:35 +09:00
  • c34f5c1ed1 Initial switchover code Ian Barwick 2017-08-02 14:09:55 +09:00
  • 5948cf6cda repmgr standby switchover: add sanity check for pg_rewind useability Ian Barwick 2017-08-04 00:38:07 +09:00
  • 0815accdef Formatting fix Ian Barwick 2017-08-03 23:58:00 +09:00
  • 7d77fd4072 Log successful switchover event Ian Barwick 2017-08-03 17:02:30 +09:00
  • 112ca6321a Initial switchover implementation Ian Barwick 2017-08-03 16:38:37 +09:00
  • c67aa15581 Make "pgdata" a mandatory configuration file setting Ian Barwick 2017-08-02 23:04:24 +09:00
  • 83cda89362 Get data directory for server commands if needed Ian Barwick 2017-08-02 13:16:16 +09:00
  • 791640e3b4 repmgrd: never execute "service_promote_command" directly Ian Barwick 2017-08-02 12:09:25 +09:00
  • aa528dfdfb Consolidate generation of various server control commands Ian Barwick 2017-08-02 12:01:20 +09:00
  • 5b7b276ada Make log levels case-insensitive Ian Barwick 2017-08-02 09:46:53 +09:00
  • e5d50bbfd5 Separate configuration file queries into a discrete function Ian Barwick 2017-08-02 00:00:41 +09:00
  • a1ad62d04e Add "repmgr node restore-config" Ian Barwick 2017-08-01 22:13:32 +09:00
  • f023b9c90c Add "repmgr node archive-config" Ian Barwick 2017-08-01 17:38:54 +09:00
  • 95d6f08ff4 repmgr: initialise witness connection parameter buffers as empty strings Ian Barwick 2017-08-01 13:58:40 +09:00
  • 33af998a1e Update README Ian Barwick 2017-08-01 12:31:52 +09:00
  • 3683d096f1 Avoid using PG_VERSION_NUM in frontend code Ian Barwick 2017-08-01 10:43:42 +09:00
  • 8a5665a421 repmgr node status: add information about current LSN locations for streaming standbys Ian Barwick 2017-07-31 09:37:06 +09:00
  • d00cb63179 repmgrd: prevent segfault if no configfile provided Ian Barwick 2017-07-31 12:54:01 +09:00
  • fbe74cbee4 Rename repmgr{d}4 binaries to repmgr{d} Ian Barwick 2017-07-31 10:37:15 +09:00
  • 8d7d83347a repmgrd: add log line to indicate node recovery detected Ian Barwick 2017-07-31 09:58:13 +09:00
  • 3582a80e48 Rename package from repmgr4 to repmgr Ian Barwick 2017-07-28 12:21:55 +09:00
  • dd73039d02 Update BDR documentation Ian Barwick 2017-07-27 21:44:10 +09:00
  • 7cf3b9b618 repmgrd: improve logging of BDR monitoring Ian Barwick 2017-07-27 21:12:41 +09:00
  • 0037d58dae Update README Ian Barwick 2017-07-27 18:12:29 +09:00
  • 5606434a97 Initial BDR failover documentation Ian Barwick 2017-07-27 18:11:49 +09:00
  • 42ecf5de74 Add TODO for repmgr cluster show Ian Barwick 2017-07-27 18:11:13 +09:00
  • 4c2ba42000 Update sample configuration file Ian Barwick 2017-07-27 18:10:56 +09:00
  • 4cf66c33db repmgrd: more fixes to BDR recovery handling Ian Barwick 2017-07-27 16:33:41 +09:00
  • b4a655d074 Update README Ian Barwick 2017-07-27 16:33:23 +09:00
  • fed6fba4ef repmgrd: more fixes for BDR node recovery Ian Barwick 2017-07-27 14:13:39 +09:00
  • dc24d62009 repmgrd: improve BDR recovery handling Ian Barwick 2017-07-27 11:53:55 +09:00
  • d8a1799215 Update -?/--help output Ian Barwick 2017-07-27 10:08:32 +09:00
  • eff26b496c repmgrd: updates for BDR monitoring Ian Barwick 2017-07-27 09:49:53 +09:00
  • a9b0c16b3c Add "cluster matrix" and "cluster crosscheck" actions Ian Barwick 2017-07-26 11:24:33 +09:00
  • c3083a0ba0 repmgr node status: add "raw" data columns too Ian Barwick 2017-07-25 12:06:42 +09:00
  • 2a08317984 repmgr node status: optional CSV output Ian Barwick 2017-07-25 11:26:09 +09:00
  • 56b2e9bb84 Rename/add configuration file options Ian Barwick 2017-07-25 11:05:15 +09:00
  • cbe19d5868 repmgr node status: collate output into list Ian Barwick 2017-07-25 09:27:21 +09:00
  • a793e951b6 Remove unused function Ian Barwick 2017-07-25 08:21:36 +09:00
  • 8a2e4db1bc Add "repmgr node status" Ian Barwick 2017-07-25 00:12:16 +09:00
  • 93c35618a2 Use bdr.bdr_is_active_in_db() when checking for BDR presence Ian Barwick 2017-07-24 19:09:09 +09:00
  • d3c2a0f505 repmgrd: record bdr_recovery event on the node which was up Ian Barwick 2017-07-24 18:56:18 +09:00
  • 8f2dde3bde repmgrd: log BDR node recovery on the running node, not the recovered node Ian Barwick 2017-07-24 12:50:51 +09:00
  • e9cdf1c870 Add note Ian Barwick 2017-07-20 23:57:28 +09:00
  • 1a45287e76 Misc updates and fixes Ian Barwick 2017-07-20 21:15:55 +09:00
  • b99443b0c8 Improvements to repmgr cluster show Ian Barwick 2017-07-20 10:25:13 +09:00
  • a5c5d9fa40 Show BDR status in "repmgr cluster show" output Ian Barwick 2017-07-20 09:23:24 +09:00
  • 38730033d4 Miscellaneous code cleanup Ian Barwick 2017-07-20 09:11:38 +09:00
  • 8dcfbfc313 Improve "repmgr cluster show" display Ian Barwick 2017-07-19 23:10:32 +09:00
  • 076934558d Allow "CLUSTER EVENTS" as synonym for "CLUSTER EVENT" Ian Barwick 2017-07-19 22:08:22 +09:00
  • b79a514660 Improve "repmgr cluster event" output Ian Barwick 2017-07-19 22:06:54 +09:00
  • f7d5621941 Improve "repmgr cluster show" output generation Ian Barwick 2017-07-19 21:34:53 +09:00
  • 49ac9cf9ca Add "repmgr cluster show" Ian Barwick 2017-07-19 17:36:21 +09:00
  • d3776ad13e repmgrd: consolidate some code Ian Barwick 2017-07-19 15:28:25 +09:00
  • a7b7d86ecc repmgrd: handle manual failover mode correctly Ian Barwick 2017-07-19 14:01:01 +09:00
  • 23e6440dfd repmgrd: initiate primary monitoring when local node is promoted manually Ian Barwick 2017-07-19 11:15:38 +09:00
  • 9558d0d3b8 repmgrd: prevent promotion of sole candidate if priority set to zero Ian Barwick 2017-07-19 09:38:32 +09:00
  • 6e270b2faf repmgrd: catch cases where more than one node has initiated voting Ian Barwick 2017-07-18 17:04:24 +09:00
  • 248525ccba Remove unused PQexpBuffer Ian Barwick 2017-07-18 12:00:53 +09:00
  • 2c8dd49831 repmgrd: additional check to ensure only one node handles failover Ian Barwick 2017-07-17 16:47:42 +09:00
  • 48a0aa3bf7 repmgrd: improve failover handling Ian Barwick 2017-07-17 14:56:52 +09:00
  • a56bb41891 Remove redundant fields from node record struct Ian Barwick 2017-07-17 14:11:14 +09:00
  • 0dcd479322 Store node status in node record struct Ian Barwick 2017-07-17 13:50:17 +09:00
  • 46acf75286 Fix usage of get_primary_node_record() Ian Barwick 2017-07-17 12:12:59 +09:00
  • 437cb26b7e Fixes to function request_vote() Ian Barwick 2017-07-17 12:04:56 +09:00
  • ec554e5694 Improve connection handling Ian Barwick 2017-07-17 11:10:37 +09:00
  • 084e0429fc Disable non-BDR functions for BDR-only buils Ian Barwick 2017-07-17 08:44:49 +09:00
  • ec00202a31 Add configure option --with-bdr-only Ian Barwick 2017-07-16 17:13:45 +09:00
  • a6f8d59f77 Initial support for BDR-only build Ian Barwick 2017-07-16 10:21:24 +09:00
  • a29bc3e0fa Rename config.[ch] to configfile.[ch] Ian Barwick 2017-07-16 09:41:26 +09:00
  • b1051bfca2 Minor fixes to BDR code Ian Barwick 2017-07-16 08:27:07 +09:00
  • c93eb10ad3 Handle node recovery Ian Barwick 2017-07-14 16:15:10 +09:00
  • 951c7dbd07 repmgrd: in BDR mode, have each repmgrd monitor each node Ian Barwick 2017-07-14 15:01:18 +09:00
  • e3b3fb65f0 repmgrd: restrict BDR monitoring to two node setup Ian Barwick 2017-07-14 12:56:11 +09:00
  • 91c7013024 Remove erroneously added file Ian Barwick 2017-07-14 11:25:37 +09:00
  • d653888c65 Support pre-10 WAL functions Ian Barwick 2017-07-14 10:40:11 +09:00
  • dfcf85a62f repmgrd: further BDR sanity checks Ian Barwick 2017-07-14 10:27:28 +09:00
  • 875cdf5102 repmgrd: don't run in BDR mode on a node marked as inactive Ian Barwick 2017-07-14 09:59:56 +09:00
  • aeba2e31f1 repmgrd: fix BDR sanity check Ian Barwick 2017-07-14 09:54:34 +09:00
  • d77e8d4d22 repmgrd: split physical and BDR functionality into separate files Ian Barwick 2017-07-13 17:21:29 +09:00
  • 0320f409aa Detect BDR capability via presence of extension Ian Barwick 2017-07-13 14:13:46 +09:00
  • 2594a46a4f Limit repmgr installation on a BDR cluster to two nodes Ian Barwick 2017-07-13 14:10:08 +09:00
  • 7eadbf6b17 Various improvements to "repmgr bdr register/unregister" Ian Barwick 2017-07-12 22:38:03 +09:00
  • 0a1addfdc0 When registering a BDR node, sync repmgr.nodes from another node Ian Barwick 2017-07-12 09:03:15 +09:00
  • 1cccb1dd5a Add "repmgr bdr unregister" Ian Barwick 2017-07-12 08:29:22 +09:00
  • 71a0871232 Add "repmgr bdr register" Ian Barwick 2017-07-11 15:38:04 +09:00
  • 2962ffe605 repmgrd: initial BDR monitoring support Ian Barwick 2017-07-10 23:58:59 +09:00
  • dddea9814b Add BDR-related database functions Ian Barwick 2017-07-10 21:52:39 +09:00
  • 941ed343f8 repmgrd: additional location check Ian Barwick 2017-07-10 15:20:43 +09:00
  • 5fbcf3e476 Remove witness server references Ian Barwick 2017-07-10 09:31:31 +09:00
  • 9e3d942917 Handle various (unlikely) failure states Ian Barwick 2017-07-10 09:00:18 +09:00
  • 5bf7098139 repmgrd: consolidate clear_node_info_list() calls Ian Barwick 2017-07-09 11:10:49 +09:00
  • 2787994a6e Make repmgrd failover settings configurable Ian Barwick 2017-07-07 21:11:22 +09:00