Ian Barwick
73ad689390
standby register: fail if --upstream-node-id is the local node ID
2019-03-27 14:22:55 +09:00
Ian Barwick
e490f35223
doc: fix syntax
2019-03-22 15:43:55 +09:00
Ian Barwick
ec873b0119
doc: update release notes
2019-03-22 15:43:49 +09:00
Ian Barwick
9b089b7401
doc: add note about compiling against Pg11 and later with the --with-llvm option
2019-03-21 10:30:00 +09:00
Ian Barwick
7204a0faf4
doc: consolidate witness server documentation
2019-03-20 16:31:52 +09:00
Ian Barwick
5e775cef16
doc: various improvements to repmgrd documentation
2019-03-20 16:10:03 +09:00
Ian Barwick
0940185f49
doc: clarify "cluster show" error codes
2019-03-18 10:49:38 +09:00
John Naylor
4f9fc56871
Fix assorted Makefile bugs
...
1. The target additional-maintainer-clean was misspelled as
maintainer-additional-clean.
2. Add add missing clean targets, in particular sysutils.o, config.h,
repmgr_version.h, and Makefile.global. While at it, use a wildcard
for obj files.
3. Don't delete configure.
4. Remove generated file doc/version.sgml from the repo.
5. Have maintainer-clean recurse to the doc directory.
2019-03-15 16:29:31 +09:00
Ian Barwick
fbdf9617fa
doc: update repmgrd example output
2019-03-15 15:43:11 +09:00
Ian Barwick
dfb92df05f
doc: miscellaenous cleanup
2019-03-15 14:39:37 +09:00
Ian Barwick
9dd87dd5ce
doc: add explanation of the configuration file format
2019-03-15 14:02:42 +09:00
Ian Barwick
a2df69512a
doc: update "connection_check_type" descriptions
2019-03-14 15:44:59 +09:00
John Naylor
e06d3de444
Correct some doc typos
2019-03-14 11:58:31 +08:00
Ian Barwick
9d056b2f72
doc: expand "standby_disconnect_on_failover" documentation
2019-03-14 12:08:13 +09:00
Ian Barwick
c1d6753081
doc: fix option name typo
2019-03-14 09:32:06 +09:00
Ian Barwick
2b59b4894a
doc: expand "failover_validate_command" documentation
2019-03-13 21:10:03 +09:00
Ian Barwick
0e2f3e563a
doc: various updates
2019-03-13 16:55:32 +09:00
Ian Barwick
8c4421d110
doc: merge repmgrd witness server description into failover section
2019-03-13 16:12:17 +09:00
Ian Barwick
69cb3f1e82
doc: merge repmgrd split network handling description into failover section
2019-03-13 16:12:14 +09:00
Ian Barwick
960acfeb3c
doc: merge repmgrd monitoring description into operating section
2019-03-13 16:12:11 +09:00
Ian Barwick
a8d50a5b98
doc: merge repmgrd degraded monitoring description into operation section
2019-03-13 16:12:06 +09:00
Ian Barwick
11e5993bf5
doc: merge repmgrd notes into operation documentation
2019-03-13 16:12:03 +09:00
Ian Barwick
09861a5604
doc: merge repmgrd pause documentation into overview
2019-03-13 16:11:59 +09:00
Ian Barwick
89bba77d4d
doc: initial repmgrd doc refactoring
2019-03-13 16:11:55 +09:00
Ian Barwick
dd6ece326f
doc: update repmgrd configuration documentation
2019-03-13 13:34:08 +09:00
Ian Barwick
fc397f25f6
repmgrd: enable election rerun
...
If "failover_validation_command" is set, and the command returns an error,
rerun the election.
There is a pause between reruns to avoid "churn"; the length of this pause
is controlled by the configuration parameter "election_rerun_interval".
2019-03-12 17:12:19 +09:00
Ian Barwick
b9cdcd55e7
doc: update list of reloadable repmgrd configuration options
2019-03-11 16:18:10 +09:00
Ian Barwick
db87ff46fd
doc: document "failover_validation_command"
2019-03-11 15:02:33 +09:00
Ian Barwick
2a8f8d8400
doc: expand repmgrd configuration section
2019-03-11 14:50:33 +09:00
Ian Barwick
63f7ad546e
repmgrd: add option "connection_check_type"
...
This enable selection of the method repmgrd uses to check whether the upstream
node is available. Possible values are:
- "ping" (default): uses PQping() to check server availability
- "connection": executes a query on the connection to check server
availability (similar to repmgr3.x).
2019-03-06 12:09:54 +09:00
Ian Barwick
0330fa6e62
daemon status: with csv output, show repmgrd status as unknown where appropriate
...
Previously, if PostgreSQL was not running on the node, repmgrd and
pause status were shown as "0", implying their status was known.
This brings the csv output in line with the human-readable output,
which displays "n/a" in this case.
2019-02-28 12:27:39 +09:00
Ian Barwick
4006f8af3c
doc: upate release notes
2019-02-28 10:01:51 +09:00
Ian Barwick
a6c16541c2
doc: tweak wording in event notification documentation
2019-02-27 13:01:19 +09:00
Ian Barwick
59f32d74df
doc: update introductory blurb
2019-02-26 15:16:46 +09:00
Ian Barwick
0578053875
standby clone: check upstream connections after data copy operation
...
With long-running copy operations, it's possible the connection(s) to
the primary/source server may go away for some reason, so recheck
their availability before attempting to reuse.
2019-02-26 14:37:05 +09:00
John Naylor
897e3bee14
Doc fix: PostgreSQL 9.4 is no longer considered recent
2019-02-24 12:44:10 +07:00
John Naylor
4e414d2ea0
Fix typo
2019-02-24 10:50:09 +07:00
Ian Barwick
07097575b1
daemon status: add column "upstream last seen"
...
This displays the interval (in seconds) since the repmgrd instance on
each node last confirmed its upstream node is available.
2019-02-23 13:03:16 +09:00
Ian Barwick
71d151ca87
Don't check status of logical replication slots
...
We only want to check the status of physical replication slots
to determine whether a streaming replication standby has become
detached and there is therefore a risk of uncontrolled WAL buildup
on the local node.
It's not feasible to second-guess the state of logical replication
slots.
2019-02-23 10:09:43 +09:00
Ian Barwick
5abec2bb97
doc: clarify replication slot usage with Barman
...
Barman will usually use one replication slot, but that's generally
preferable to multiple slots.
2019-02-22 13:52:02 +09:00
John Naylor
70190c37c4
Bring list of supported versions on the doc front page in line with the supported version matrix
2019-02-20 11:41:17 +07:00
Ian Barwick
629c552348
primary unregister: ensure correct behaviour when executed on a witness
...
Fixes GitHub #548 .
2019-02-15 19:49:17 +09:00
Ian Barwick
3a5a4388c7
cluster show: differentiate unreachable status
...
Differentiate between unreachable nodes and nodes which are running
but rejecting connections.
2019-02-15 16:01:55 +09:00
Ian Barwick
905e108f8f
doc: fix typos etc. in "standby follow" reference
2019-02-12 17:24:56 +09:00
Ian Barwick
f2362a06fa
doc: update "standby switchover" reference
2019-02-12 16:39:13 +09:00
Ian Barwick
7b85cb9f12
doc: update "standby follow" reference
...
Add note about handling of timeline forks etc.
2019-02-12 16:39:06 +09:00
Ian Barwick
8773543e10
doc: update "daemon (start|stop)" documentation
...
Clarify various aspects related to configuration.
2019-02-11 10:55:10 +09:00
Ian Barwick
a4cd4ee553
doc: fix quoting in "standby switchover" index entries
2019-02-11 10:34:02 +09:00
Ian Barwick
a61dd8a750
doc: tweak support text
2019-02-08 15:28:12 +09:00
Ian Barwick
2c84716e66
doc: add information about reporting issues etc.
...
Useful to have a linkable document listing the information required
to have a chance of troubleshooting issues.
2019-02-08 11:55:42 +09:00