Commit Graph

  • b08511ec79 When cloning from Barman, use basebackups_directory Ian Barwick 2017-07-07 13:39:10 +09:00
  • 35df85e67d repmgrd: improve handling of "degraded monitoring" Ian Barwick 2017-07-06 17:13:00 +09:00
  • 6b82ecbafc repmgrd: check for visibility of primary location Ian Barwick 2017-07-06 11:45:04 +09:00
  • 0d226867b4 Add "location" column Ian Barwick 2017-07-06 01:17:00 +09:00
  • 9351e532b4 Ensure configuration parameter "replication_user" is smaller than NAMEDATALEN Ian Barwick 2017-07-06 00:22:23 +09:00
  • ff4cc64a67 repmgrd: refresh upstream node record from upstream itself Ian Barwick 2017-07-05 13:23:42 +09:00
  • 3c45853b6f Fixes for cascaded standby failover Ian Barwick 2017-07-05 12:43:35 +09:00
  • a31d66f826 repmgr standby follow: add event details Ian Barwick 2017-07-05 11:36:30 +09:00
  • 2f2a983272 Fixes for cascaded standby monitoring Ian Barwick 2017-07-05 11:23:20 +09:00
  • 614287548d Fix function get_primary_node_record() Ian Barwick 2017-07-05 11:20:32 +09:00
  • 617dee6bd6 Add function create_event_record() Ian Barwick 2017-07-05 09:52:22 +09:00
  • d3ec15cd25 Fixes from merge Ian Barwick 2017-07-04 23:57:43 +09:00
  • 582d0ef363 Rename "logxxx" configuration file parameters to "log_xxx" Ian Barwick 2017-07-03 10:28:56 +09:00
  • 9bf264177f Add checks for use of --upstream-node-id Ian Barwick 2017-06-26 10:22:27 +09:00
  • 60edb00bb4 Add dummy BDR monitoring handler Ian Barwick 2017-06-26 09:15:39 +09:00
  • 4e06355b57 Replace repmgr.conf item "upstream_node_id" with --upstream-node-id Ian Barwick 2017-06-26 09:00:31 +09:00
  • 24c6b2c9f1 repmgrd: initial code for cascaded standby failover Ian Barwick 2017-07-04 23:14:05 +09:00
  • e1f4384f7e repmgrd: refactory primary failover code into separate function Ian Barwick 2017-07-04 20:42:22 +09:00
  • f7f49ae85e repmgrd: handle case where upstream node ID is not defined Ian Barwick 2017-07-04 18:05:35 +09:00
  • 7bd8ce703d repmgrd: handle local node outage Ian Barwick 2017-07-04 13:22:26 +09:00
  • 618a2346e1 repmgrd: various fixed, mainly clearing status after a failover event Ian Barwick 2017-07-04 11:55:03 +09:00
  • 78d45ebf68 Various fixes Ian Barwick 2017-07-03 23:41:34 +09:00
  • c2d615fc19 repmgrd: only vote for self if no other node is ahead Ian Barwick 2017-07-03 21:59:34 +09:00
  • c12bf01b5a When clearing a node info list, reset the node count to 0 Ian Barwick 2017-07-03 21:59:02 +09:00
  • cc46058a8e repmgrd: ensure standby_nodes list is up-to-date Ian Barwick 2017-07-03 20:22:48 +09:00
  • 890b88d644 More failover fixes Ian Barwick 2017-07-03 17:37:32 +09:00
  • 1bc4e968f6 Localize variables Ian Barwick 2017-07-03 14:57:39 +09:00
  • e3d52d1257 repmgrd: execute "standby follow" Ian Barwick 2017-07-03 14:36:55 +09:00
  • 18b40be7f1 Add configuration option "log_status_interval" Ian Barwick 2017-07-03 12:14:52 +09:00
  • 34c746fcde Rename "logxxx" configuration file parameters to "log_xxx" Ian Barwick 2017-07-03 10:28:56 +09:00
  • debe5a18c5 have new primary communicate to standbys Ian Barwick 2017-06-30 21:45:25 +09:00
  • 1857e23fef add failover states Ian Barwick 2017-06-30 17:42:39 +09:00
  • 83405a6d39 Add sample configuration file Ian Barwick 2017-06-30 17:11:46 +09:00
  • c793b1b7d2 repmgr: fix generation of default "dbname" Ian Barwick 2017-06-28 22:21:43 +09:00
  • a666a49977 Execute promote command Ian Barwick 2017-06-30 16:04:47 +09:00
  • 9caa715eb0 minor fixes Ian Barwick 2017-06-30 14:30:41 +09:00
  • fc4f276844 Improve handling Ian Barwick 2017-06-30 13:40:19 +09:00
  • 3514e20367 poke it around until it works less badly Ian Barwick 2017-06-29 09:35:09 +09:00
  • fa86fe4ad8 Basic voting Ian Barwick 2017-06-29 01:11:21 +09:00
  • 18a56b266b repmgr: fix generation of default "dbname" Ian Barwick 2017-06-28 22:16:10 +09:00
  • b7d1e7a091 Minor fixes to get_server_version() Ian Barwick 2017-06-28 13:45:19 +09:00
  • c7f9fbf524 Clarify repmgr/pgbouncer fencing document Ian Barwick 2017-06-26 12:57:44 +09:00
  • d6b6255144 interim commit Ian Barwick 2017-06-28 18:20:03 +09:00
  • f4e8bf891d interim commit Ian Barwick 2017-06-28 17:28:20 +09:00
  • ded8d95e5a interim commit Ian Barwick 2017-06-28 16:38:41 +09:00
  • 35b6178e07 placeholder code for function Ian Barwick 2017-06-27 09:50:47 +09:00
  • 78a16d746d Initial primary node monitoring Ian Barwick 2017-06-27 00:15:29 +09:00
  • 7845a1fb47 Minimum supported version is currently 9.4 Ian Barwick 2017-06-25 21:46:50 +09:00
  • b64581c582 repmgrd: log startup on primary Ian Barwick 2017-06-24 08:44:19 +09:00
  • 27ad7b4f79 repmgrd: add stdout/stderr redirects Ian Barwick 2017-06-23 22:41:58 +09:00
  • 8117d4dcc4 Various minor fixes Ian Barwick 2017-06-23 21:42:28 +09:00
  • 46c956e61a Use "primary" instead of "master" Ian Barwick 2017-06-23 21:33:54 +09:00
  • 28808a02ab Fix return value of _get_node_record() Ian Barwick 2017-06-23 20:44:40 +09:00
  • 9566dc49f3 repmgrd: sanity check for presence of follow/promote commands Ian Barwick 2017-06-23 18:54:45 +09:00
  • 71146aef9d Removing repmgr executable Gianni Ciolli 2017-06-23 09:47:26 +01:00
  • 1b2652037d Rename enum types for consistency Ian Barwick 2017-06-23 16:38:14 +09:00
  • dbaa2e0b44 Add a RecordStatus return type for functions which populate record structures Ian Barwick 2017-06-23 16:16:46 +09:00
  • 0823a83f92 Handle some deprecated command line options Ian Barwick 2017-06-23 14:18:17 +09:00
  • 3e3607167c Remove references to --data-dir Ian Barwick 2017-06-23 14:13:32 +09:00
  • a5d15c22a8 repmgr standby follow: ensure data directory provided, if required Ian Barwick 2017-06-23 13:42:07 +09:00
  • ae67e086a4 repmgr master unregister: tighten behaviour Ian Barwick 2017-06-23 11:37:42 +09:00
  • 66535e5417 repmgrd: initial startup Ian Barwick 2017-06-22 17:23:05 +09:00
  • 9ce981c9f8 Documentation updates Ian Barwick 2017-06-22 15:28:31 +09:00
  • 0ffd33820c Update README Ian Barwick 2017-06-22 13:37:05 +09:00
  • 86e0f79135 repmgrd: fixes to command line handling Ian Barwick 2017-06-22 13:22:46 +09:00
  • 82c9b365ed Consolidate error/warning output code Ian Barwick 2017-06-22 09:04:16 +09:00
  • d77736329a repmgrd: add command line option -L/--log-level Ian Barwick 2017-06-22 00:09:18 +09:00
  • 8d84732026 repmgr standby follow: suppress master database connection error messages Ian Barwick 2017-06-21 14:53:02 +09:00
  • 6cdf73b4cb repmgr standby promote: suppress master database connection error message Ian Barwick 2017-06-21 13:21:44 +09:00
  • 0c531e07e7 repmgr standby promote: add detail about an existing master Ian Barwick 2017-06-21 10:25:12 +09:00
  • 5ab2ac0e9a Convert configuration file parmeter "failover_mode" to an enum Ian Barwick 2017-06-21 09:53:41 +09:00
  • 94a88326ef repmgrd: further code ported Ian Barwick 2017-06-20 09:17:29 +09:00
  • f713f30ef8 repmgrd: basic code Ian Barwick 2017-06-20 01:35:33 +09:00
  • 6f77e84b62 Update handling of --replication-user Ian Barwick 2017-06-16 22:10:07 +09:00
  • 030fdc046b repmgr standby follow: main code Ian Barwick 2017-06-16 21:38:53 +09:00
  • 7b976ef2df repmgr standby follow: initial code Ian Barwick 2017-06-16 00:05:18 +09:00
  • a69f80a9af standby clone: enable overwrite of existing data directory Ian Barwick 2017-06-15 22:43:49 +09:00
  • e0ea9c3be4 repmgr: fix standby register --force when updating existing node record Ian Barwick 2017-06-15 21:46:30 +09:00
  • b440b5fcb8 Fix node record update query Ian Barwick 2017-06-15 21:54:44 +09:00
  • 36b3782009 Store the replication user in repmgr.nodes Ian Barwick 2017-06-14 23:27:26 +09:00
  • aa5539ac5e Initial documentation for repmgr4 changes Ian Barwick 2017-06-14 09:18:57 +09:00
  • dd06c82821 repmgr master register: support --dry-run Ian Barwick 2017-06-14 09:18:38 +09:00
  • 6af75a1151 repmgr standby: improve behaviour Ian Barwick 2017-06-13 09:22:24 +09:00
  • 042126dcff Update comments in "repmgr master ... " code Ian Barwick 2017-06-13 09:22:05 +09:00
  • e89c43c5cb Remove unused backup functions Ian Barwick 2017-06-13 00:35:01 +09:00
  • f26f1c0428 Minor code tweaks Ian Barwick 2017-06-13 00:31:01 +09:00
  • cc1f0a02cd Add missing call to PQconninfoFree() Ian Barwick 2017-06-13 00:22:41 +09:00
  • bb7d3e41c3 repmgr master unregister: check for downstream nodes Ian Barwick 2017-06-12 22:24:50 +09:00
  • fbb534e394 Add todo note Ian Barwick 2017-06-10 21:16:59 +09:00
  • bfa6f6709d repmgrd: add --help output and update Makefile Ian Barwick 2017-06-12 09:11:32 +09:00
  • 9a1cdade59 Update --help output Ian Barwick 2017-06-12 08:39:25 +09:00
  • 13e4913f1f Document events generated by functions Ian Barwick 2017-06-11 23:42:03 +09:00
  • 8720c9be45 repmgr master register: ensure event record is always written Ian Barwick 2017-06-11 23:36:47 +09:00
  • aa53514f9f repmgr: various fixes for "master unregister" Ian Barwick 2017-06-11 23:27:37 +09:00
  • fef184ce9a Initial implementation of "repmgr master unregister" Ian Barwick 2017-06-10 23:21:46 +09:00
  • ac9ccce3ef Basic functionality for 'repmgr master register' Ian Barwick 2017-06-10 21:11:06 +09:00
  • 124398bed5 Replace is_standby() with get_recovery_type() Ian Barwick 2017-06-09 11:25:43 +09:00
  • 056ed0328a Remove unused variable Ian Barwick 2017-05-31 23:01:20 +09:00
  • 3a56bec4b5 repmgr: remove rsync cloning option Ian Barwick 2017-05-31 22:59:35 +09:00
  • 2d91413caf Various minor fixes and code comments Ian Barwick 2017-05-30 09:30:34 +09:00