mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
Compare commits
3 Commits
dev/FS-711
...
update-doc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a68206b4a | ||
|
|
31af938354 | ||
|
|
061025b62f |
99
.github/workflows/blackduck-scan.yml
vendored
99
.github/workflows/blackduck-scan.yml
vendored
@@ -1,99 +0,0 @@
|
|||||||
###
|
|
||||||
# Foundation-security BlackDuck workflow
|
|
||||||
# version: 2.1
|
|
||||||
###
|
|
||||||
name: Foundation-Security/Black Duck Scan
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "**"
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
branches:
|
|
||||||
- "**"
|
|
||||||
schedule:
|
|
||||||
- cron: "0 3 * * *" # 3:00 AM UTC / 10PM EST
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
scan-mode:
|
|
||||||
description: "BlackDuck Scan mode"
|
|
||||||
required: true
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- RAPID
|
|
||||||
- INTELLIGENT
|
|
||||||
default: RAPID
|
|
||||||
ref:
|
|
||||||
description: "Branch to scan"
|
|
||||||
required: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Blackduck-Scan:
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: read
|
|
||||||
steps:
|
|
||||||
- name: Checkout source repository for dispatch runs
|
|
||||||
id: checkout-source-dispatch
|
|
||||||
if: github.event_name == 'workflow_dispatch'
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
repository: ${{ github.repository }}
|
|
||||||
ref: ${{ inputs.ref }}
|
|
||||||
path: source
|
|
||||||
token: ${{ secrets.GH_SLONIK }}
|
|
||||||
|
|
||||||
- name: Set project name and version for dispatch runs
|
|
||||||
id: set-project-name-and-version-dispatch
|
|
||||||
if: github.event_name == 'workflow_dispatch'
|
|
||||||
run: |
|
|
||||||
echo "PROJECT_NAME=${{ github.event.repository.name }}" >> "$GITHUB_ENV"
|
|
||||||
echo "PROJECT_VERSION=${{ inputs.ref }}" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
- name: Checkout source repository for non-dispatch runs
|
|
||||||
id: checkout-source
|
|
||||||
if: github.event_name != 'workflow_dispatch'
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
repository: ${{ github.repository }}
|
|
||||||
ref: ${{ github.ref }}
|
|
||||||
path: source
|
|
||||||
token: ${{ secrets.GH_SLONIK }}
|
|
||||||
|
|
||||||
- name: Set project name and version for non-dispatch runs
|
|
||||||
id: set-project-name-and-version
|
|
||||||
if: github.event_name != 'workflow_dispatch'
|
|
||||||
run: |
|
|
||||||
echo "PROJECT_NAME=${{ github.event.repository.name }}" >> "$GITHUB_ENV"
|
|
||||||
echo "PROJECT_VERSION=${{ github.ref_name }}" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
- name: Get short hash
|
|
||||||
shell: bash
|
|
||||||
if: ${{ inputs.scan-mode == 'INTELLIGENT' }}
|
|
||||||
run: |
|
|
||||||
cd source
|
|
||||||
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
- 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: BlackDuck Scan
|
|
||||||
id: call-bd-action
|
|
||||||
uses: ./foundation-security/actions/blackduck
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.GH_SLONIK }}
|
|
||||||
cloudsmith-token: ${{ secrets.CLOUDSMITH_READ_ALL }}
|
|
||||||
commit-hash: ${{ env.sha_short }}
|
|
||||||
git-tag: ${{ github.tag }}
|
|
||||||
blackduck-url: ${{ vars.BD_URL }}
|
|
||||||
blackduck-api-token: ${{ secrets.BLACKDUCK_API_TOKEN }}
|
|
||||||
project-name: ${{ env.PROJECT_NAME }}
|
|
||||||
project-version: ${{ env.PROJECT_VERSION }}
|
|
||||||
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