You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
v2.53: Concurrent Backups
IMPORTANT NOTE: The log-level-stderr option default has been changed from warn to off. This makes it easier to capture errors when only redirecting stdout. To preserve the prior behavior set log-level-stderr=warn. NOTE TO PACKAGERS: The lz4 library is now required by the meson build. NOTE TO PACKAGERS: Compiler support for __builtin_clzl() and __builtin_bswap64() is now required by the meson build. Bug Fixes: * Fix SFTP renaming failure when file already exists. (Fixed by Reid Thompson. Reviewed by David Steele. Reported by ahmed112212.) Features: * Allow backups to run concurrently on different repositories. (Reviewed by Reid Thompson, Stefan Fercot.) * Support IP-based SANs for TLS certificate validation. (Contributed by David Christensen. Reviewed by David Steele.) Improvements: * Default log-level-stderr option to off. (Reviewed by Greg Sabino Mullane, Stefan Fercot.) * Allow alternative WAL segment sizes for PostgreSQL ≤ 10. (Contributed by Viktor Kurilko. Reviewed by David Steele.) * Add hint to check SFTP authorization log. (Contributed by Vitalii Zurian. Reviewed by Reid Thompson, David Steele.) Documentation Improvements: * Clarify archive-push multi-repo behavior. (Reviewed by Stefan Fercot.)
This commit is contained in:
@ -377,7 +377,8 @@ sub docGet
|
||||
my @stryReleaseCommitRemaining;
|
||||
my $bReleaseCheckCommit = false;
|
||||
|
||||
if ($strVersion ge '2.01')
|
||||
# Check versions except for bug fix releases that are not the most recent release (since bug fixes on are separate branches)
|
||||
if ($strVersion ge '2.01' && !($strVersion =~ /^[0-9]+\.[0-9]+\.[0-9]+$/ && $iReleaseIdx != 0))
|
||||
{
|
||||
# Should commits in the release be checked?
|
||||
$bReleaseCheckCommit = !$bReleaseDev ? true : false;
|
||||
@ -386,8 +387,16 @@ sub docGet
|
||||
my $rhReleaseCommitBegin = $self->commitFindSubject(\@hyGitLog, "Begin v${strVersion} development\\.");
|
||||
my $strReleaseCommitBegin = defined($rhReleaseCommitBegin) ? $rhReleaseCommitBegin->{commit} : undef;
|
||||
|
||||
# Get the end commit of the last release
|
||||
my $strReleaseLastVersion = $oyRelease[$iReleaseIdx + 1]->paramGet('version');
|
||||
# Get the end commit of the last release (skipping bug fixes which are on separate branches)
|
||||
my $iReleaseLastVersionIdx = $iReleaseIdx + 1;
|
||||
my $strReleaseLastVersion = $oyRelease[$iReleaseLastVersionIdx]->paramGet('version');
|
||||
|
||||
while ($strReleaseLastVersion =~ /^[0-9]+\.[0-9]+\.[0-9]+$/)
|
||||
{
|
||||
$iReleaseLastVersionIdx++;
|
||||
$strReleaseLastVersion = $oyRelease[$iReleaseLastVersionIdx]->paramGet('version');
|
||||
}
|
||||
|
||||
my $rhReleaseLastCommitEnd = $self->commitFindSubject(\@hyGitLog, "v${strReleaseLastVersion}\\: .+");
|
||||
|
||||
if (!defined($rhReleaseLastCommitEnd))
|
||||
|
Reference in New Issue
Block a user