pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/repmgr



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 30 09:55:14 UTC 2020

Modified Files:
        pkgsrc/databases/repmgr: Makefile PLIST distinfo

Log Message:
repmgr: updated to 5.2.0

repmgr 5.2.0 is a major release.

This release provides support for PostgreSQL 13, released in September 2020.

This release removes support for PostgreSQL 9.3, which was designated EOL in November 2018.

A.1.1. General improvements

Configuration: support include, include_dir and include_if_exists directives (see configuration file include directives).

repmgr standby switchover: Improve sanity check failure log output from the demotion candidate.

If database connection configuration is not consistent across all nodes, it's possible remote repmgr invocations (e.g. during switchover, from the promotion candidate to the demotion candidate) will 
not be able to connect to the database. This will now be explicitly reported as a database connection failure, rather than as a failure of the respective sanity check.

repmgr cluster crosscheck / repmgr cluster matrix: improve text mode output format, in particular so that node identifiers of arbitrary length are displayed correctly.

repmgr primary unregister: the --force can be provided to unregister an active primary node, provided it has no registered standby nodes.

repmgr standby clone: new option --verify-backup to run PostgreSQL's pg_verifybackup utility after cloning a standby to verify the integrity of the copied data (PostgreSQL 13 and later).

repmgr standby clone: when cloning from Barman, setting --waldir (PostgreSQL 9.6 and earlier: --xlogdir) in pg_basebackup_options will cause repmgr to create a WAL directory outside of the main data 
directory and symlink it from there, in the same way as would happen when cloning using pg_basebackup.

repmgr standby follow: In PostgreSQL 13 and later, a standby no longer requires a restart to follow a new upstream node.

The old behaviour (always restarting the standby to follow a new node) can be restored by setting the configuration file parameter standby_follow_restart to true.

repmgr node rejoin: enable a node to attach to a target node even the target node has a lower timeline (PostgreSQL 9.6 and later).

repmgr node rejoin: in PostgreSQL 13 and later, support pg_rewind's ability to automatically run crash recovery on a PostgreSQL instance which was not shut down cleanly.

repmgr node check: option --db-connection added to check if repmgr can connect to the database on the local node.

repmgr node check: report database connection error if the --optformat was provided.

Improve handling of pg_control read errors.

It is now possible to dump the contents of repmgr metadata tables with pg_dump.

A.1.2. repmgrd enhancements

Following additional parameters can be provided to failover_validation_command:

%n: node ID
%a: node name
%v: number of visible nodes
%u: number of shared upstream nodes
%t: total number of nodes
Configuration option always_promote (default: false) to control whether a node should be promoted if the repmgr metadata is not up-to-date on that node.

A.1.3. Bug fixes

repmgr standby clone: fix issue with cloning from Barman where the tablespace mapping file was not flushed to disk before attempting to retrieve files from Barman.

repmgr node rejoin: ensure that when verifying a standby node has attached to its upstream, the node has started streaming before confirming the success of the rejoin operation.

repmgrd: ensure primary connection is reset if same as upstream.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/databases/repmgr/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/repmgr/PLIST \
    pkgsrc/databases/repmgr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/repmgr/Makefile
diff -u pkgsrc/databases/repmgr/Makefile:1.10 pkgsrc/databases/repmgr/Makefile:1.11
--- pkgsrc/databases/repmgr/Makefile:1.10       Tue Jun  2 08:23:31 2020
+++ pkgsrc/databases/repmgr/Makefile    Fri Oct 30 09:55:13 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2020/06/02 08:23:31 adam Exp $
+# $NetBSD: Makefile,v 1.11 2020/10/30 09:55:13 adam Exp $
 
-DISTNAME=      repmgr-5.1.0
+DISTNAME=      repmgr-5.2.0
 PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases
 MASTER_SITES=  https://repmgr.org/download/
 

Index: pkgsrc/databases/repmgr/PLIST
diff -u pkgsrc/databases/repmgr/PLIST:1.8 pkgsrc/databases/repmgr/PLIST:1.9
--- pkgsrc/databases/repmgr/PLIST:1.8   Tue May 19 12:48:12 2020
+++ pkgsrc/databases/repmgr/PLIST       Fri Oct 30 09:55:13 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2020/05/19 12:48:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2020/10/30 09:55:13 adam Exp $
 bin/repmgr
 bin/repmgrd
 ${PLIST.llvm}lib/postgresql/bitcode/repmgr.index.bc
@@ -18,7 +18,10 @@ share/postgresql/extension/repmgr--4.4--
 share/postgresql/extension/repmgr--4.4.sql
 share/postgresql/extension/repmgr--5.0--5.1.sql
 share/postgresql/extension/repmgr--5.0.sql
+share/postgresql/extension/repmgr--5.1--5.2.sql
 share/postgresql/extension/repmgr--5.1.sql
+share/postgresql/extension/repmgr--5.2.sql
 share/postgresql/extension/repmgr--unpackaged--4.0.sql
 share/postgresql/extension/repmgr--unpackaged--5.1.sql
+share/postgresql/extension/repmgr--unpackaged--5.2.sql
 share/postgresql/extension/repmgr.control
Index: pkgsrc/databases/repmgr/distinfo
diff -u pkgsrc/databases/repmgr/distinfo:1.8 pkgsrc/databases/repmgr/distinfo:1.9
--- pkgsrc/databases/repmgr/distinfo:1.8        Tue May 19 12:48:12 2020
+++ pkgsrc/databases/repmgr/distinfo    Fri Oct 30 09:55:13 2020
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2020/05/19 12:48:12 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/10/30 09:55:13 adam Exp $
 
-SHA1 (repmgr-5.1.0.tar.gz) = 5859789e71f93c1315b9520e197b92fe60693418
-RMD160 (repmgr-5.1.0.tar.gz) = 7c95a365dc6abc8fb69e98bb25134caa4035222a
-SHA512 (repmgr-5.1.0.tar.gz) = 9fa8a43ee3920269d1c1d2e619939eb68cb7ba79effe11e87dd67c594bacfcde609949322ce968df328f3913111f27d0ebe2f7742a72e21f3df97b0e05c56cc7
-Size (repmgr-5.1.0.tar.gz) = 426487 bytes
+SHA1 (repmgr-5.2.0.tar.gz) = b51474d70f2f0636377f48e9506b54f34e1d555a
+RMD160 (repmgr-5.2.0.tar.gz) = a123452de6e9d0490024fd71ad56ec603821b35c
+SHA512 (repmgr-5.2.0.tar.gz) = 4e9fbbba42025226d9b0e13f180f4f8b2ffbafd2b84a4ec9ffe36a804d40f3fc0d8b599bb859b4bdb0ca739d974d014a96e31868e5a48e34df2666c98a314553
+Size (repmgr-5.2.0.tar.gz) = 446137 bytes
 SHA1 (patch-repmgr.c) = e83bdddf1722e4cb5d1861baa33ab8c6930db693



Home | Main Index | Thread Index | Old Index