mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Compare commits
3 Commits
dev/FS-708
...
update-doc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a68206b4a | ||
|
|
31af938354 | ||
|
|
061025b62f |
43
.github/workflows/trufflehog-scan.yml
vendored
43
.github/workflows/trufflehog-scan.yml
vendored
@@ -1,43 +0,0 @@
|
|||||||
###
|
|
||||||
# Foundation-security Trufflehog workflow
|
|
||||||
# version: 2.0
|
|
||||||
###
|
|
||||||
name: Foundation-Security/Trufflehog Scan
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "**"
|
|
||||||
branches:
|
|
||||||
- "**"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Trufflehog-Scan:
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: read
|
|
||||||
steps:
|
|
||||||
- name: Checkout source repository
|
|
||||||
id: checkout-source
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
repository: ${{github.repository}}
|
|
||||||
ref: ${{ github.ref }}
|
|
||||||
path: source
|
|
||||||
token: ${{secrets.GH_SLONIK}}
|
|
||||||
|
|
||||||
- name: Checkout foundation-security repository
|
|
||||||
id: checkout-foundation-security
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
repository: EnterpriseDB/foundation-security
|
|
||||||
ref: v2
|
|
||||||
path: foundation-security
|
|
||||||
token: ${{secrets.GH_SLONIK}}
|
|
||||||
|
|
||||||
- name: Secrets Scan
|
|
||||||
id: call-th-composite
|
|
||||||
uses: ./foundation-security/actions/trufflehog
|
|
||||||
with:
|
|
||||||
cloudsmith-token: ${{ secrets.CLOUDSMITH_READ_ALL }}
|
|
||||||
6
HISTORY
6
HISTORY
@@ -1,9 +1,3 @@
|
|||||||
5.4.1 2023-??-??
|
|
||||||
repmgrd: ensure witness node metadata is updated (Ian)
|
|
||||||
|
|
||||||
5.4.0 2023-03-16
|
|
||||||
Support cloning replicas using pg-backup-api
|
|
||||||
|
|
||||||
5.3.3 2022-10-17
|
5.3.3 2022-10-17
|
||||||
Support for PostgreSQL added
|
Support for PostgreSQL added
|
||||||
repmgrd: ensure event notification script is called for event
|
repmgrd: ensure event notification script is called for event
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ replication, and perform administrative tasks such as failover or switchover
|
|||||||
operations.
|
operations.
|
||||||
|
|
||||||
The most recent `repmgr` version (5.3.2) supports all PostgreSQL versions from
|
The most recent `repmgr` version (5.3.2) supports all PostgreSQL versions from
|
||||||
9.5 to 15. PostgreSQL 9.4 is also supported, with some restrictions.
|
9.5 to 14. PostgreSQL 9.4 is also supported, with some restrictions.
|
||||||
|
|
||||||
`repmgr` is distributed under the GNU GPL 3 and maintained by EnterpriseDB.
|
`repmgr` is distributed under the GNU GPL 3 and maintained by EnterpriseDB.
|
||||||
|
|
||||||
|
|||||||
@@ -16,44 +16,8 @@
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- remember to update the release date in ../repmgr_version.h.in -->
|
<!-- remember to update the release date in ../repmgr_version.h.in -->
|
||||||
<sect1 id="release-5.4.1">
|
|
||||||
<title id="release-current">Release 5.4.1</title>
|
|
||||||
<para><emphasis>??? ?? ??????, 202?</emphasis></para>
|
|
||||||
<para>
|
|
||||||
&repmgr; 5.4.1 is a minor release providing ...
|
|
||||||
</para>
|
|
||||||
<sect2>
|
|
||||||
<title>Bug fixes</title>
|
|
||||||
<para>
|
|
||||||
<itemizedlist>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
&repmgrd;: ensure witness node metadata is updated if the primary
|
|
||||||
node changed while the witness &repmgrd; was not running.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</itemizedlist>
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1 id="release-5.4.0">
|
|
||||||
<title>Release 5.4.0</title>
|
|
||||||
<para><emphasis>Thu 15 March, 2023</emphasis></para>
|
|
||||||
<para>
|
|
||||||
&repmgr; 5.4.0 is a major release.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
This release provides support for cloning standbys using backups taken with <ulink url="http://www.pgbarman.org">barman</ulink>
|
|
||||||
with the use of <ulink url="https://github.com/EnterpriseDB/pg-backup-api">pg-backup-api</ulink>.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Minor fixes to the documentation.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1 id="release-5.3.3">
|
<sect1 id="release-5.3.3">
|
||||||
<title>Release 5.3.3</title>
|
<title id="release-current">Release 5.3.3</title>
|
||||||
<para><emphasis>Mon 17 October, 2022</emphasis></para>
|
<para><emphasis>Mon 17 October, 2022</emphasis></para>
|
||||||
<para>
|
<para>
|
||||||
&repmgr; 5.3.3 is a minor release providing support for
|
&repmgr; 5.3.3 is a minor release providing support for
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
<note>
|
<note>
|
||||||
<simpara>
|
<simpara>
|
||||||
This section documents a subset of optional configuration settings; for a full
|
This section documents a subset of optional configuration settings; for a full
|
||||||
and annotated view of all configuration options see the
|
for a full and annotated view of all configuration options see the
|
||||||
<ulink url="https://raw.githubusercontent.com/EnterpriseDB/repmgr/master/repmgr.conf.sample">sample repmgr.conf file</ulink>
|
see the <ulink url="https://raw.githubusercontent.com/EnterpriseDB/repmgr/master/repmgr.conf.sample">sample repmgr.conf file</ulink>
|
||||||
</simpara>
|
</simpara>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
|||||||
@@ -2394,17 +2394,6 @@ monitor_streaming_witness(void)
|
|||||||
terminate(ERR_BAD_CONFIG);
|
terminate(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* It's possible that the primary changed while the witness repmgrd was not
|
|
||||||
* running. This does not affect the functionality of the witness repmgrd, but
|
|
||||||
* does mean outdated node metadata will be displayed, so update that.
|
|
||||||
*/
|
|
||||||
if (local_node_info.upstream_node_id != primary_node_id)
|
|
||||||
{
|
|
||||||
update_node_record_set_upstream(primary_conn, local_node_info.node_id, primary_node_id);
|
|
||||||
local_node_info.upstream_node_id = primary_node_id;
|
|
||||||
}
|
|
||||||
|
|
||||||
initPQExpBuffer(&event_details);
|
initPQExpBuffer(&event_details);
|
||||||
|
|
||||||
appendPQExpBuffer(&event_details,
|
appendPQExpBuffer(&event_details,
|
||||||
|
|||||||
Reference in New Issue
Block a user