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:           Tue Oct 12 07:02:41 UTC 2021

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

Log Message:
repmgr: updated to 5.3.0

repmgr 5.3.0 is a major release.

This release provides support for PostgreSQL 14, released in September 2021.

A.1.1. Improvements

repmgr standby switchover: Improve handling of node rejoin failure on the demotion candidate.

Previously repmgr did not check whether repmgr node rejoin actually succeeded on the demotion candidate, and would always wait up to node_rejoin_timeout seconds for it to attach to the promotion 
candidate, even if this would never happen.

This makes it easier to identify unexpected events during a switchover operation, such as the demotion candidate being unexpectedly restarted by an external process.

Note that the output of the repmgr node rejoin operation on the demotion candidate will now be logged to a temporary file on that node; the location of the file will be reported in the error message, 
if one is emitted.

repmgrd: at startup, if node record is marked as "inactive", attempt to set it to "active".

This behaviour can be overridden by setting the configuration parameter repmgrd_exit_on_inactive_node to true.

repmgr node rejoin: emit rejoin target note information as NOTICE.

This makes it clearer what repmgr is trying to do.

repmgr node check: option --repmgrd added to check repmgrd status.

Add %p event notification parameter providing the node ID of the former primary for the repmgrd_failover_promote event.

A.1.2. Bug fixes

repmgr standby clone: if using --replication-conf-only on a node which was set up without replication slots, but the repmgr configuration was since changed to use_replication_slots=1, repmgr will now 
set slot_name in the node record, if it was previously empty.

repmgrd: rename internal shared library functions to minimize the risk of clashes with other shared libraries.

This does not affect user-facing SQL functions. However an upgrade of the installed extension version is required.

repmgrd: ensure short option -s is accepted.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/repmgr/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/repmgr/PLIST
cvs rdiff -u -r1.11 -r1.12 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.14 pkgsrc/databases/repmgr/Makefile:1.15
--- pkgsrc/databases/repmgr/Makefile:1.14       Wed Apr 21 11:41:20 2021
+++ pkgsrc/databases/repmgr/Makefile    Tue Oct 12 07:02:41 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2021/04/21 11:41:20 adam Exp $
+# $NetBSD: Makefile,v 1.15 2021/10/12 07:02:41 adam Exp $
 
-DISTNAME=      repmgr-5.2.1
+DISTNAME=      repmgr-5.3.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.9 pkgsrc/databases/repmgr/PLIST:1.10
--- pkgsrc/databases/repmgr/PLIST:1.9   Fri Oct 30 09:55:13 2020
+++ pkgsrc/databases/repmgr/PLIST       Tue Oct 12 07:02:41 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2020/10/30 09:55:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2021/10/12 07:02:41 adam Exp $
 bin/repmgr
 bin/repmgrd
 ${PLIST.llvm}lib/postgresql/bitcode/repmgr.index.bc
@@ -20,8 +20,11 @@ share/postgresql/extension/repmgr--5.0--
 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--5.3.sql
 share/postgresql/extension/repmgr--5.2.sql
+share/postgresql/extension/repmgr--5.3.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--unpackaged--5.3.sql
 share/postgresql/extension/repmgr.control

Index: pkgsrc/databases/repmgr/distinfo
diff -u pkgsrc/databases/repmgr/distinfo:1.11 pkgsrc/databases/repmgr/distinfo:1.12
--- pkgsrc/databases/repmgr/distinfo:1.11       Thu Oct  7 13:35:42 2021
+++ pkgsrc/databases/repmgr/distinfo    Tue Oct 12 07:02:41 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/10/07 13:35:42 nia Exp $
+$NetBSD: distinfo,v 1.12 2021/10/12 07:02:41 adam Exp $
 
-RMD160 (repmgr-5.2.1.tar.gz) = 055261e39aab9a157a7ebe857e95baf3c5da39b0
-SHA512 (repmgr-5.2.1.tar.gz) = 609ca27322087a042ede3a54565e425e9f39d74df510cbc103390cf60a31b35ce311cd942d5efd062bec2026864bd45466dbaf323963060d3ce89ce167c2a0b1
-Size (repmgr-5.2.1.tar.gz) = 448164 bytes
+RMD160 (repmgr-5.3.0.tar.gz) = 7b1f97063123a9c66cc911669be8250b195ed058
+SHA512 (repmgr-5.3.0.tar.gz) = 1b3c64a9746b7b3f7faf4475750913822b918d415fb0fc19fff5ee8f51c92aeb886d1c6f35b749fc76895b4512ca40c3b5bece57eb012d7d77467c4da72bb8db
+Size (repmgr-5.3.0.tar.gz) = 453201 bytes
 SHA1 (patch-Makefile.in) = 9f9a41e4366bc8f7246eaef707ff33127659c777



Home | Main Index | Thread Index | Old Index