diff --git a/bin/pgbackrest b/bin/pgbackrest index 69d418ba2e..8b9812c508 100755 --- a/bin/pgbackrest +++ b/bin/pgbackrest @@ -18,7 +18,6 @@ use File::Basename qw(dirname); use lib dirname($0) . '/../lib'; -use pgBackRest::Archive::Archive; use pgBackRest::Common::Exception; use pgBackRest::Common::Exit; use pgBackRest::Common::Lock; @@ -121,17 +120,36 @@ local $EVAL_ERROR = undef; eval confess &log(ERROR, 'repo-path \'' . optionGet(OPTION_REPO_PATH) . '\' does not exist', ERROR_PATH_MISSING); } + ################################################################################################################################ + # Archive commands must run on the db host + ################################################################################################################################ + if ((commandTest(CMD_ARCHIVE_PUSH) || commandTest(CMD_ARCHIVE_GET)) && !isDbLocal()) + { + confess &log(ERROR, commandGet() . ' command must be run on the db host', ERROR_HOST_INVALID); + } + + ################################################################################################################################ + # Process archive-push command + ################################################################################################################################ + if (commandTest(CMD_ARCHIVE_PUSH)) + { + # Load module dynamically + require pgBackRest::Archive::ArchivePush; + pgBackRest::Archive::ArchivePush->import(); + + exitSafe(new pgBackRest::Archive::ArchivePush()->process()); + } + ################################################################################################################################ # Process archive commands ################################################################################################################################ - if (commandTest(CMD_ARCHIVE_PUSH) || commandTest(CMD_ARCHIVE_GET)) + if (commandTest(CMD_ARCHIVE_GET)) { - if (!isDbLocal()) - { - confess &log(ERROR, commandGet() . ' command must be run on the db host', ERROR_HOST_INVALID); - } + # Load module dynamically + require pgBackRest::Archive::ArchiveGet; + pgBackRest::Archive::ArchiveGet->import(); - exitSafe(new pgBackRest::Archive::Archive()->process()); + exitSafe(new pgBackRest::Archive::ArchiveGet()->process()); } ################################################################################################################################ diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 2637a76c94..07c84401b1 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -209,7 +209,7 @@ -

Moved the Archive modules to the Archive directory.

+

Moved the Archive modules to the Archive directory and split the archive-get and archive-push commands into separate modules.

diff --git a/lib/pgBackRest/Archive/Archive.pm b/lib/pgBackRest/Archive/Archive.pm index 3ddb6db2dc..af3261cbb6 100644 --- a/lib/pgBackRest/Archive/Archive.pm +++ b/lib/pgBackRest/Archive/Archive.pm @@ -6,44 +6,20 @@ package pgBackRest::Archive::Archive; use strict; use warnings FATAL => qw(all); use Carp qw(confess); -use English '-no_match_vars'; use Exporter qw(import); our @EXPORT = qw(); -use Fcntl qw(SEEK_CUR O_RDONLY O_WRONLY O_CREAT); -use File::Basename qw(dirname basename); -use Scalar::Util qw(blessed); +use File::Basename qw(dirname); +use pgBackRest::Archive::ArchiveInfo; +use pgBackRest::Db; +use pgBackRest::DbVersion; use pgBackRest::Common::Exception; -use pgBackRest::Common::Lock; use pgBackRest::Common::Log; -use pgBackRest::Archive::ArchiveCommon; -use pgBackRest::Archive::ArchiveInfo; -use pgBackRest::Common::String; use pgBackRest::Common::Wait; use pgBackRest::Config::Config; -use pgBackRest::Db; -use pgBackRest::DbVersion; use pgBackRest::File; -use pgBackRest::FileCommon; use pgBackRest::Protocol::Common; -use pgBackRest::Protocol::Protocol; - -#################################################################################################################################### -# PostgreSQL WAL magic -#################################################################################################################################### -my $oWalMagicHash = -{ - hex('0xD062') => PG_VERSION_83, - hex('0xD063') => PG_VERSION_84, - hex('0xD064') => PG_VERSION_90, - hex('0xD066') => PG_VERSION_91, - hex('0xD071') => PG_VERSION_92, - hex('0xD075') => PG_VERSION_93, - hex('0xD07E') => PG_VERSION_94, - hex('0xD087') => PG_VERSION_95, - hex('0xD093') => PG_VERSION_96, -}; #################################################################################################################################### # constructor @@ -67,320 +43,6 @@ sub new ); } -#################################################################################################################################### -# process -# -# Process archive commands. -#################################################################################################################################### -sub process -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(__PACKAGE__ . '->process'); - - my $iResult; - - # Process push - if (commandTest(CMD_ARCHIVE_PUSH)) - { - $iResult = $self->pushProcess(); - } - # Process get - elsif (commandTest(CMD_ARCHIVE_GET)) - { - $iResult = $self->getProcess(); - } - # Else error if any other command is found - else - { - confess &log(ASSERT, "Archive->process() called with invalid command: " . commandGet()); - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'iResult', value => $iResult, trace => true} - ); -} - -################################################################################################################################ -# getProcess -################################################################################################################################ -sub getProcess -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(__PACKAGE__ . '->getProcess'); - - # Make sure the archive file is defined - if (!defined($ARGV[1])) - { - confess &log(ERROR, 'WAL segment not provided', ERROR_PARAM_REQUIRED); - } - - # Make sure the destination file is defined - if (!defined($ARGV[2])) - { - confess &log(ERROR, 'WAL segment destination not provided', ERROR_PARAM_REQUIRED); - } - - # Info for the Postgres log - &log(INFO, 'get WAL segment ' . $ARGV[1]); - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'iResult', value => $self->get($ARGV[1], $ARGV[2]), trace => true} - ); -} - -#################################################################################################################################### -# walFileName -# -# Returns the filename in the archive of a WAL segment. Optionally, a wait time can be specified. In this case an error will be -# thrown when the WAL segment is not found. -#################################################################################################################################### -sub walFileName -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - $oFile, - $strArchiveId, - $strWalSegment, - $bPartial, - $iWaitSeconds - ) = - logDebugParam - ( - __PACKAGE__ . '->walFileName', \@_, - {name => 'oFile'}, - {name => 'strArchiveId'}, - {name => 'strWalSegment'}, - {name => 'bPartial'}, - {name => 'iWaitSeconds', required => false} - ); - - # Record the start time - my $oWait = waitInit($iWaitSeconds); - my @stryWalFileName; - my $bNoTimeline = $strWalSegment =~ /^[0-F]{16}$/ ? true : false; - - do - { - # If the timeline is on the WAL segment then use it, otherwise contruct a regexp with the major WAL part to find paths - # where the wal could be found. - my @stryTimelineMajor = ('default'); - - if ($bNoTimeline) - { - @stryTimelineMajor = - $oFile->list(PATH_BACKUP_ARCHIVE, $strArchiveId, '[0-F]{8}' . substr($strWalSegment, 0, 8), undef, true); - } - - foreach my $strTimelineMajor (@stryTimelineMajor) - { - my $strWalSegmentFind = $bNoTimeline ? $strTimelineMajor . substr($strWalSegment, 8, 8) : $strWalSegment; - - # Determine the path where the requested WAL segment is located - my $strArchivePath = dirname($oFile->pathGet(PATH_BACKUP_ARCHIVE, "$strArchiveId/${strWalSegmentFind}")); - - # Get the name of the requested WAL segment (may have hash info and compression extension) - push(@stryWalFileName, $oFile->list( - PATH_BACKUP_ABSOLUTE, $strArchivePath, - "^${strWalSegmentFind}" . ($bPartial ? '\\.partial' : '') . - "(-[0-f]+){0,1}(\\.$oFile->{strCompressExtension}){0,1}\$", - undef, true)); - } - } - while (@stryWalFileName == 0 && waitMore($oWait)); - - # If there is more than one matching archive file then there is a serious issue - likely a bug in the archiver - if (@stryWalFileName > 1) - { - confess &log(ASSERT, @stryWalFileName . " duplicate files found for ${strWalSegment}", ERROR_ARCHIVE_DUPLICATE); - } - - # If waiting and no WAL segment was found then throw an error - if (@stryWalFileName == 0 && defined($iWaitSeconds)) - { - confess &log(ERROR, "could not find WAL segment ${strWalSegment} after ${iWaitSeconds} second(s)", ERROR_ARCHIVE_TIMEOUT); - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'strWalFileName', value => $stryWalFileName[0]} - ); -} - -#################################################################################################################################### -# walInfo -# -# Retrieve information such as db version and system identifier from a WAL segment. -#################################################################################################################################### -sub walInfo -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - $strWalFile, - ) = - logDebugParam - ( - __PACKAGE__ . '->walInfo', \@_, - {name => 'strWalFile'} - ); - - # Open the WAL segment and read magic number - #------------------------------------------------------------------------------------------------------------------------------- - my $hFile; - my $tBlock; - - sysopen($hFile, $strWalFile, O_RDONLY) - or confess &log(ERROR, "unable to open ${strWalFile}", ERROR_FILE_OPEN); - - # Read magic - sysread($hFile, $tBlock, 2) == 2 - or confess &log(ERROR, "unable to read xlog magic"); - - my $iMagic = unpack('S', $tBlock); - - # Map the WAL magic number to the version of PostgreSQL. - # - # The magic number can be found in src/include/access/xlog_internal.h The offset can be determined by counting bytes in the - # XLogPageHeaderData struct, though this value rarely changes. - #------------------------------------------------------------------------------------------------------------------------------- - my $strDbVersion = $$oWalMagicHash{$iMagic}; - - if (!defined($strDbVersion)) - { - confess &log(ERROR, "unexpected WAL magic 0x" . sprintf("%X", $iMagic) . "\n" . - 'HINT: is this version of PostgreSQL supported?', - ERROR_VERSION_NOT_SUPPORTED); - } - - # Map the WAL PostgreSQL version to the system identifier offset. The offset can be determined by counting bytes in the - # XLogPageHeaderData struct, though this value rarely changes. - #------------------------------------------------------------------------------------------------------------------------------- - my $iSysIdOffset = $strDbVersion >= PG_VERSION_93 ? PG_WAL_SYSTEM_ID_OFFSET_GTE_93 : PG_WAL_SYSTEM_ID_OFFSET_LT_93; - - # Check flags to be sure the long header is present (this is an extra check to be sure the system id exists) - #------------------------------------------------------------------------------------------------------------------------------- - sysread($hFile, $tBlock, 2) == 2 - or confess &log(ERROR, "unable to read xlog info"); - - my $iFlag = unpack('S', $tBlock); - - # Make sure that the long header is present or there won't be a system id - $iFlag & 2 - or confess &log(ERROR, "expected long header in flags " . sprintf("%x", $iFlag)); - - # Get the system id - #------------------------------------------------------------------------------------------------------------------------------- - sysseek($hFile, $iSysIdOffset, SEEK_CUR) - or confess &log(ERROR, "unable to read padding"); - - sysread($hFile, $tBlock, 8) == 8 - or confess &log(ERROR, "unable to read database system identifier"); - - length($tBlock) == 8 - or confess &log(ERROR, "block is incorrect length"); - - close($hFile); - - my $ullDbSysId = unpack('Q', $tBlock); - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'strDbVersion', value => $strDbVersion}, - {name => 'ullDbSysId', value => $ullDbSysId} - ); -} - -#################################################################################################################################### -# get -#################################################################################################################################### -sub get -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - $strSourceArchive, - $strDestinationFile - ) = - logDebugParam - ( - __PACKAGE__ . '->get', \@_, - {name => 'strSourceArchive'}, - {name => 'strDestinationFile'} - ); - - lockStopTest(); - - # Create the file object - my $oFile = new pgBackRest::File - ( - optionGet(OPTION_STANZA), - optionGet(OPTION_REPO_PATH), - protocolGet(BACKUP) - ); - - # Construct absolute path to the WAL file when it is relative - $strDestinationFile = walPath($strDestinationFile, optionGet(OPTION_DB_PATH, false), commandGet()); - - # Get the wal segment filename - my $strArchiveId = $self->getCheck($oFile); - my $strArchiveFile = $self->walFileName($oFile, $strArchiveId, $strSourceArchive, false); - - # If there are no matching archive files then there are two possibilities: - # 1) The end of the archive stream has been reached, this is normal and a 1 will be returned - # 2) There is a hole in the archive stream and a hard error should be returned. However, holes are possible due to async - # archiving - so when to report a hole? Since a hard error will cause PG to terminate, for now treat as case #1. - my $iResult = 0; - - if (!defined($strArchiveFile)) - { - &log(INFO, "unable to find ${strSourceArchive} in the archive"); - - $iResult = 1; - } - else - { - # Determine if the source file is already compressed - my $bSourceCompressed = $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$" ? true : false; - - # Copy the archive file to the requested location - $oFile->copy(PATH_BACKUP_ARCHIVE, "${strArchiveId}/${strArchiveFile}", # Source file - PATH_DB_ABSOLUTE, $strDestinationFile, # Destination file - $bSourceCompressed, # Source compression based on detection - false); # Destination is not compressed - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'iResult', value => $iResult} - ); -} - #################################################################################################################################### # getCheck #################################################################################################################################### @@ -432,573 +94,4 @@ sub getCheck ); } -#################################################################################################################################### -# getArchiveId -# -# CAUTION: Only to be used by commands where the DB Version and DB System ID are not important such that the -# db-path is not valid for the command (i.e. Expire command). Since this function will not check validity of the database version -# call getCheck function instead. -#################################################################################################################################### -sub getArchiveId -{ - my $self = shift; - my $oFile = shift; - - # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(__PACKAGE__ . '->getArchiveId'); - - my $strArchiveId; - - if ($oFile->isRemote(PATH_BACKUP_ARCHIVE)) - { - $strArchiveId = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_GET_ARCHIVE_ID, undef, true); - } - else - { - $strArchiveId = (new pgBackRest::Archive::ArchiveInfo($oFile->pathGet(PATH_BACKUP_ARCHIVE), true))->archiveId(); - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'strArchiveId', value => $strArchiveId, trace => true} - ); -} - -#################################################################################################################################### -# pushProcess -#################################################################################################################################### -sub pushProcess -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(__PACKAGE__ . '->pushProcess'); - - # Make sure the archive push command happens on the db side - if (!isDbLocal()) - { - confess &log(ERROR, CMD_ARCHIVE_PUSH . ' operation must run on the db host'); - } - - # Batch flag indicates that the archive-push command was called without a WAL segment - my $bBatch = false; - - # If an archive section has been defined, use that instead of the backup section when command is CMD_ARCHIVE_PUSH - my $bArchiveAsync = optionGet(OPTION_ARCHIVE_ASYNC); - - # If logging locally then create the stop archiving file name - my $strStopFile; - - if ($bArchiveAsync) - { - $strStopFile = optionGet(OPTION_SPOOL_PATH) . '/stop/' . optionGet(OPTION_STANZA) . "-archive.stop"; - } - - # If an archive file is defined, then push it - my $oException = undef; - - if (defined($ARGV[1])) - { - # If the stop file exists then discard the archive log - if ($bArchiveAsync) - { - if (-e $strStopFile) - { - &log(ERROR, "discarding " . basename($ARGV[1]) . - " due to the archive store max size exceeded" . - " - remove the archive stop file (${strStopFile}) to resume archiving" . - " and be sure to take a new backup as soon as possible"); - return 0; - } - } - - &log(INFO, 'push WAL segment ' . $ARGV[1] . ($bArchiveAsync ? ' asynchronously' : '')); - - # Push WAL segment - when async, any error will be deferred until after the async process has been started - eval - { - $self->push($ARGV[1], $bArchiveAsync); - return true; - } - or do - { - $oException = $EVAL_ERROR; - - if (!$bArchiveAsync || !optionGet(OPTION_TEST_FORK)) - { - confess $oException; - } - }; - } - # If archive-push is called without a WAL segment then still run in batch mode to clear out the async queue - else - { - $bBatch = true; - } - - # If async or batch mode then acquire a lock. Also fork if in async mode so that the parent process can return to Postres. - if ($bArchiveAsync || $bBatch) - { - # Create a lock file to make sure async archive-push does not run more than once - if (!lockAcquire(commandGet(), false)) - { - logDebugMisc($strOperation, 'async archive-push process is already running - exiting'); - $bBatch = false; - } - else - { - # Only fork if a WAL segment was specified, otherwise jut run - if (!$bBatch) - { - # Fork and disable the async archive flag if this is the parent process - if (optionGet(OPTION_TEST_FORK)) - { - $bBatch = fork() == 0 ? true : false; - } - # Else the no-fork flag has been specified for testing - else - { - logDebugMisc($strOperation, 'no fork on archive local for TESTING'); - $bBatch = true; - } - } - } - } - - # Continue with batch processing - if ($bBatch) - { - # Start the async archive push - logDebugMisc($strOperation, 'start async archive-push'); - - # Open the log file - logFileSet(optionGet(OPTION_LOG_PATH) . '/' . optionGet(OPTION_STANZA) . '-archive-async'); - - # Call the archive_xfer function and continue to loop as long as there are files to process - my $iLogTotal; - - while (!defined($iLogTotal) || $iLogTotal > 0) - { - $iLogTotal = $self->xfer(optionGet(OPTION_SPOOL_PATH) . "/archive/" . - optionGet(OPTION_STANZA) . "/out", $strStopFile); - - if ($iLogTotal > 0) - { - logDebugMisc($strOperation, "transferred ${iLogTotal} WAL segment" . - ($iLogTotal > 1 ? 's' : '') . ', calling Archive->xfer() again'); - } - else - { - logDebugMisc($strOperation, 'transfer found 0 WAL segments - exiting'); - } - } - - lockRelease(); - } - elsif (defined($oException)) - { - confess $oException; - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'iResult', value => 0, trace => true} - ); -} - -#################################################################################################################################### -# push -#################################################################################################################################### -sub push -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - $strSourceFile, - $bAsync - ) = - logDebugParam - ( - __PACKAGE__ . '->push', \@_, - {name => 'strSourceFile'}, - {name => 'bAsync'} - ); - - # Create the file object - my $oFile = new pgBackRest::File - ( - optionGet(OPTION_STANZA), - $bAsync ? optionGet(OPTION_SPOOL_PATH) : optionGet(OPTION_REPO_PATH), - protocolGet($bAsync ? NONE : BACKUP) - ); - - lockStopTest(); - - # Construct absolute path to the WAL file when it is relative - $strSourceFile = walPath($strSourceFile, optionGet(OPTION_DB_PATH, false), commandGet()); - - # Get the destination file - my $strDestinationFile = basename($strSourceFile); - - # Get the compress flag - my $bCompress = $bAsync ? false : optionGet(OPTION_COMPRESS); - - # Determine if this is an archive file (don't do compression or checksum on .backup, .history, etc.) - my $bArchiveFile = basename($strSourceFile) =~ /^[0-F]{24}(\.partial){0,1}$/ ? true : false; - - # Determine if this is a partial archive file - my $bPartial = $bArchiveFile && basename($strSourceFile) =~ /\.partial/ ? true : false; - - # Check that there are no issues with pushing this WAL segment - my $strArchiveId; - my $strChecksum = undef; - - if (!$bAsync) - { - if ($bArchiveFile) - { - my ($strDbVersion, $ullDbSysId) = $self->walInfo($strSourceFile); - ($strArchiveId, $strChecksum) = $self->pushCheck( - $oFile, substr(basename($strSourceFile), 0, 24), $bPartial, $strSourceFile, $strDbVersion, $ullDbSysId); - } - else - { - $strArchiveId = $self->getCheck($oFile); - } - } - - # Only copy the WAL segment if checksum is not defined. If checksum is defined it means that the WAL segment already exists - # in the repository with the same checksum (else there would have been an error on checksum mismatch). - if (!defined($strChecksum)) - { - # Append compression extension - if ($bArchiveFile && $bCompress) - { - $strDestinationFile .= '.' . $oFile->{strCompressExtension}; - } - - # Copy the WAL segment - $oFile->copy(PATH_DB_ABSOLUTE, $strSourceFile, # Source type/file - $bAsync ? PATH_BACKUP_ARCHIVE_OUT : PATH_BACKUP_ARCHIVE, # Destination type - ($bAsync ? '' : "${strArchiveId}/") . $strDestinationFile, # Destination file - false, # Source is not compressed - $bArchiveFile && $bCompress, # Destination compress is configurable - undef, undef, undef, # Unused params - true, # Create path if it does not exist - undef, undef, # User and group - $bArchiveFile, # Append checksum if archive file - $bAsync ? true : optionGet(OPTION_REPO_SYNC)); # Sync if spool, else check repo sync option - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); -} - -#################################################################################################################################### -# pushCheck -#################################################################################################################################### -sub pushCheck -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - $oFile, - $strWalSegment, - $bPartial, - $strWalFile, - $strDbVersion, - $ullDbSysId, - ) = - logDebugParam - ( - __PACKAGE__ . '->pushCheck', \@_, - {name => 'oFile'}, - {name => 'strWalSegment'}, - {name => 'bPartial'}, - {name => 'strWalFile', required => false}, - {name => 'strDbVersion'}, - {name => 'ullDbSysId'}, - ); - - # Set operation and debug strings - my $strArchiveId; - my $strChecksum; - - if ($oFile->isRemote(PATH_BACKUP_ARCHIVE)) - { - # Execute the command - ($strArchiveId, $strChecksum) = $oFile->{oProtocol}->cmdExecute( - OP_ARCHIVE_PUSH_CHECK, [$strWalSegment, $bPartial, undef, $strDbVersion, $ullDbSysId], true); - } - else - { - # If the info file exists check db version and system-id else error - $strArchiveId = (new pgBackRest::Archive::ArchiveInfo($oFile->pathGet(PATH_BACKUP_ARCHIVE)))->check( - $strDbVersion, $ullDbSysId); - - # Check if the WAL segment already exists in the archive - $strChecksum = $self->walFileName($oFile, $strArchiveId, $strWalSegment, $bPartial); - - if (defined($strChecksum)) - { - $strChecksum = substr($strChecksum, $bPartial ? 33 : 25, 40); - } - } - - if (defined($strChecksum) && defined($strWalFile)) - { - my $strChecksumNew = $oFile->hash(PATH_DB_ABSOLUTE, $strWalFile); - - if ($strChecksumNew ne $strChecksum) - { - confess &log(ERROR, "WAL segment ${strWalSegment}" . ($bPartial ? '.partial' : '') . - ' already exists in the archive', ERROR_ARCHIVE_DUPLICATE); - } - - &log(WARN, "WAL segment ${strWalSegment}" . ($bPartial ? '.partial' : '') . - " already exists in the archive with the same checksum\n" . - "HINT: this is valid in some recovery scenarios but may also indicate a problem"); - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'strArchiveId', value => $strArchiveId}, - {name => 'strChecksum', value => $strChecksum} - ); -} - -#################################################################################################################################### -# xfer -#################################################################################################################################### -sub xfer -{ - my $self = shift; - - # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - $strArchivePath, - $strStopFile - ) = - logDebugParam - ( - __PACKAGE__ . '->xfer', \@_, - {name => 'strArchivePath'}, - {name => 'strStopFile'} - ); - - # Create a local file object to read archive logs in the local store - my $oFile = new pgBackRest::File - ( - optionGet(OPTION_STANZA), - optionGet(OPTION_REPO_PATH), - protocolGet(NONE) - ); - - # Load the archive manifest - all the files that need to be pushed - my $hManifest = $oFile->manifest(PATH_DB_ABSOLUTE, $strArchivePath); - - # Get all the files to be transferred and calculate the total size - my @stryFile; - my $lFileSize = 0; - my $lFileTotal = 0; - - foreach my $strFile (sort(keys(%{$hManifest}))) - { - if ($strFile =~ "^[0-F]{24}(\\.partial){0,1}(-[0-f]{40})(\\.$oFile->{strCompressExtension}){0,1}\$" || - $strFile =~ /^[0-F]{8}\.history$/ || $strFile =~ /^[0-F]{24}\.[0-F]{8}\.backup$/) - { - CORE::push(@stryFile, $strFile); - - $lFileSize += $hManifest->{$strFile}{size}; - $lFileTotal++; - } - } - - if ($lFileTotal == 0) - { - logDebugMisc($strOperation, 'no WAL segments to archive'); - - return 0; - } - else - { - my $oException = undef; - - eval - { - # Start backup test point - &log(TEST, TEST_ARCHIVE_PUSH_ASYNC_START); - - # If the archive repo is remote create a new file object to do the copies - if (!isRepoLocal()) - { - $oFile = new pgBackRest::File - ( - optionGet(OPTION_STANZA), - optionGet(OPTION_REPO_PATH), - protocolGet(BACKUP) - ); - } - - # Modify process name to indicate async archiving - $0 = $^X . ' ' . $0 . " --stanza=" . optionGet(OPTION_STANZA) . - "archive-push-async " . $stryFile[0] . '-' . $stryFile[scalar @stryFile - 1]; - - # Output files to be moved to backup - &log(INFO, "WAL segments to archive: total = ${lFileTotal}, size = " . fileSizeFormat($lFileSize)); - - # Transfer each file - foreach my $strFile (sort @stryFile) - { - # Construct the archive filename to backup - my $strArchiveFile = "${strArchivePath}/${strFile}"; - - # Determine if the source file is already compressed - my $bSourceCompressed = $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$" ? true : false; - - # Determine if this is an archive file (don't want to do compression or checksum on .backup files) - my $bArchiveFile = basename($strFile) =~ - "^[0-F]{24}(\\.partial){0,1}(-[0-f]+){0,1}(\\.$oFile->{strCompressExtension}){0,1}\$" ? true : false; - - # Determine if this is a partial archive file - my $bPartial = $bArchiveFile && basename($strFile) =~ /\.partial/ ? true : false; - - # Figure out whether the compression extension needs to be added or removed - my $bDestinationCompress = $bArchiveFile && optionGet(OPTION_COMPRESS); - my $strDestinationFile = basename($strFile); - - # Strip off existing checksum - my $strAppendedChecksum = undef; - - if ($bArchiveFile) - { - $strAppendedChecksum = substr($strDestinationFile, $bPartial ? 33 : 25, 40); - $strDestinationFile = substr($strDestinationFile, 0, $bPartial ? 32 : 24); - } - - if ($bDestinationCompress) - { - $strDestinationFile .= ".$oFile->{strCompressExtension}"; - } - - logDebugMisc - ( - $strOperation, undef, - {name => 'strFile', value => $strFile}, - {name => 'bArchiveFile', value => $bArchiveFile}, - {name => 'bSourceCompressed', value => $bSourceCompressed}, - {name => 'bDestinationCompress', value => $bDestinationCompress} - ); - - # Check that there are no issues with pushing this WAL segment - my $strArchiveId; - my $strChecksum = undef; - - if ($bArchiveFile) - { - my ($strDbVersion, $ullDbSysId) = $self->walInfo($strArchiveFile); - ($strArchiveId, $strChecksum) = $self->pushCheck( - $oFile, substr(basename($strArchiveFile), 0, 24), $bPartial, $strArchiveFile, $strDbVersion, $ullDbSysId); - } - else - { - $strArchiveId = $self->getCheck($oFile); - } - - # Only copy the WAL segment if checksum is not defined. If checksum is defined it means that the WAL segment - # already exists in the repository with the same checksum (else there would have been an error on checksum - # mismatch). - if (!defined($strChecksum)) - { - # Copy the archive file - my ($bResult, $strCopyChecksum) = $oFile->copy( - PATH_DB_ABSOLUTE, $strArchiveFile, # Source path/file - PATH_BACKUP_ARCHIVE, # Destination path - "${strArchiveId}/${strDestinationFile}", # Destination file - $bSourceCompressed, # Source is not compressed - $bDestinationCompress, # Destination compress is configurable - undef, undef, undef, # Unused params - true, # Create path if it does not exist - undef, undef, # Unused params - true, # Append checksum - optionGet(OPTION_REPO_SYNC)); # Sync path if set - - # If appended checksum does not equal copy checksum - if (defined($strAppendedChecksum) && $strAppendedChecksum ne $strCopyChecksum) - { - confess &log( - ERROR, - "archive ${strArchiveFile} appended checksum ${strAppendedChecksum} does not match" . - " copy checksum ${strCopyChecksum}", ERROR_ARCHIVE_MISMATCH); - } - } - - # Remove the source archive file - unlink($strArchiveFile) - or confess &log(ERROR, "copied ${strArchiveFile} to archive successfully but unable to remove it locally. " . - 'This file will need to be cleaned up manually. If the problem persists, check if ' . - CMD_ARCHIVE_PUSH . ' is being run with different permissions in different contexts.'); - - # Remove the copied segment from the total size - $lFileSize -= $hManifest->{$strFile}{size}; - } - - return true; - } - or do - { - $oException = $EVAL_ERROR; - }; - - # Create a stop file if the archive store exceeds the max even after xfer - if (optionTest(OPTION_ARCHIVE_MAX_MB)) - { - my $iArchiveMaxMB = optionGet(OPTION_ARCHIVE_MAX_MB); - - if ($iArchiveMaxMB < int($lFileSize / 1024 / 1024)) - { - &log(ERROR, "local archive queue has exceeded limit of ${iArchiveMaxMB}MB" . - " - WAL segments will be discarded until the stop file (${strStopFile}) is removed"); - - filePathCreate(dirname($strStopFile), '0770'); - - my $hStopFile; - open($hStopFile, '>', $strStopFile) - or confess &log(ERROR, "unable to create stop file file ${strStopFile}"); - close($hStopFile); - } - } - - # If there was an exception before throw it now - if ($oException) - { - confess $oException; - } - } - - # Return from function and log return values if any - return logDebugReturn - ( - $strOperation, - {name => 'lFileTotal', value => $lFileTotal} - ); -} - 1; diff --git a/lib/pgBackRest/Archive/ArchiveCommon.pm b/lib/pgBackRest/Archive/ArchiveCommon.pm index 3b60333464..cac77c10da 100644 --- a/lib/pgBackRest/Archive/ArchiveCommon.pm +++ b/lib/pgBackRest/Archive/ArchiveCommon.pm @@ -9,11 +9,16 @@ use Carp qw(confess); use Exporter qw(import); our @EXPORT = qw(); +use File::Basename qw(dirname); +use pgBackRest::Db; use pgBackRest::DbVersion; use pgBackRest::Common::Exception; use pgBackRest::Common::Log; +use pgBackRest::Common::Wait; use pgBackRest::Config::Config; +use pgBackRest::File; +use pgBackRest::Protocol::Common; #################################################################################################################################### # RegEx constants @@ -31,6 +36,79 @@ use constant PG_WAL_SYSTEM_ID_OFFSET_GTE_93 => 20; use constant PG_WAL_SYSTEM_ID_OFFSET_LT_93 => 12; push @EXPORT, qw(PG_WAL_SYSTEM_ID_OFFSET_LT_93); +#################################################################################################################################### +# constructor +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + + # Assign function parameters, defaults, and log debug info + my ($strOperation) = logDebugParam(__PACKAGE__ . '->new'); + + # Create the class hash + my $self = {}; + bless $self, $class; + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'self', value => $self} + ); +} + +#################################################################################################################################### +# getCheck +#################################################################################################################################### +sub getCheck +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $oFile, + $strDbVersion, + $ullDbSysId + ) = + logDebugParam + ( + __PACKAGE__ . '->getCheck', \@_, + {name => 'oFile'}, + {name => 'strDbVersion', required => false}, + {name => 'ullDbSysId', required => false} + ); + + my $strArchiveId; + + # If the dbVersion/dbSysId are not passed, then we need to retrieve the database information + if (!defined($strDbVersion) || !defined($ullDbSysId) ) + { + # get DB info for comparison + ($strDbVersion, my $iControlVersion, my $iCatalogVersion, $ullDbSysId) = dbMasterGet()->info(); + } + + if ($oFile->isRemote(PATH_BACKUP_ARCHIVE)) + { + $strArchiveId = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_GET_CHECK, [$strDbVersion, $ullDbSysId], true); + } + else + { + # check that the archive info is compatible with the database + $strArchiveId = + (new pgBackRest::Archive::ArchiveInfo($oFile->pathGet(PATH_BACKUP_ARCHIVE), true))->check($strDbVersion, $ullDbSysId); + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'strArchiveId', value => $strArchiveId, trace => true} + ); +} + #################################################################################################################################### # lsnNormalize # @@ -46,7 +124,7 @@ sub lsnNormalize ) = logDebugParam ( - __PACKAGE__ . 'lsnFile', \@_, + __PACKAGE__ . '::lsnFile', \@_, {name => 'strLsn', trace => true}, ); @@ -89,7 +167,7 @@ sub lsnFileRange ) = logDebugParam ( - __PACKAGE__ . 'lsnFileRange', \@_, + __PACKAGE__ . '::lsnFileRange', \@_, {name => 'strLsnStart'}, {name => 'strLsnStop'}, {name => '$strDbVersion'}, @@ -136,6 +214,90 @@ sub lsnFileRange push @EXPORT, qw(lsnFileRange); +#################################################################################################################################### +# walFind +# +# Returns the filename in the archive of a WAL segment. Optionally, a wait time can be specified. In this case an error will be +# thrown when the WAL segment is not found. +#################################################################################################################################### +sub walFind +{ + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $oFile, + $strArchiveId, + $strWalSegment, + $bPartial, + $iWaitSeconds + ) = + logDebugParam + ( + __PACKAGE__ . '::walFind', \@_, + {name => 'oFile'}, + {name => 'strArchiveId'}, + {name => 'strWalSegment'}, + {name => 'bPartial'}, + {name => 'iWaitSeconds', required => false} + ); + + # Record the start time + my $oWait = waitInit($iWaitSeconds); + my @stryWalFileName; + my $bNoTimeline = $strWalSegment =~ /^[0-F]{16}$/ ? true : false; + + do + { + # If the timeline is on the WAL segment then use it, otherwise contruct a regexp with the major WAL part to find paths + # where the wal could be found. + my @stryTimelineMajor = ('default'); + + if ($bNoTimeline) + { + @stryTimelineMajor = + $oFile->list(PATH_BACKUP_ARCHIVE, $strArchiveId, '[0-F]{8}' . substr($strWalSegment, 0, 8), undef, true); + } + + foreach my $strTimelineMajor (@stryTimelineMajor) + { + my $strWalSegmentFind = $bNoTimeline ? $strTimelineMajor . substr($strWalSegment, 8, 8) : $strWalSegment; + + # Determine the path where the requested WAL segment is located + my $strArchivePath = dirname($oFile->pathGet(PATH_BACKUP_ARCHIVE, "$strArchiveId/${strWalSegmentFind}")); + + # Get the name of the requested WAL segment (may have hash info and compression extension) + push(@stryWalFileName, $oFile->list( + PATH_BACKUP_ABSOLUTE, $strArchivePath, + "^${strWalSegmentFind}" . ($bPartial ? '\\.partial' : '') . + "(-[0-f]+){0,1}(\\.$oFile->{strCompressExtension}){0,1}\$", + undef, true)); + } + } + while (@stryWalFileName == 0 && waitMore($oWait)); + + # If there is more than one matching archive file then there is a serious issue - likely a bug in the archiver + if (@stryWalFileName > 1) + { + confess &log(ASSERT, @stryWalFileName . " duplicate files found for ${strWalSegment}", ERROR_ARCHIVE_DUPLICATE); + } + + # If waiting and no WAL segment was found then throw an error + if (@stryWalFileName == 0 && defined($iWaitSeconds)) + { + confess &log(ERROR, "could not find WAL segment ${strWalSegment} after ${iWaitSeconds} second(s)", ERROR_ARCHIVE_TIMEOUT); + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'strWalFileName', value => $stryWalFileName[0]} + ); +} + +push @EXPORT, qw(walFind); + #################################################################################################################################### # walPath # @@ -153,7 +315,7 @@ sub walPath ) = logDebugParam ( - __PACKAGE__ . 'walPath', \@_, + __PACKAGE__ . '::walPath', \@_, {name => 'strWalFile', trace => true}, {name => 'strDbPath', trace => true, required => false}, {name => 'strCommand', trace => true}, diff --git a/lib/pgBackRest/Archive/ArchiveGet.pm b/lib/pgBackRest/Archive/ArchiveGet.pm new file mode 100644 index 0000000000..4ae61ed500 --- /dev/null +++ b/lib/pgBackRest/Archive/ArchiveGet.pm @@ -0,0 +1,170 @@ +#################################################################################################################################### +# ARCHIVE GET MODULE +#################################################################################################################################### +package pgBackRest::Archive::ArchiveGet; +use parent 'pgBackRest::Archive::Archive'; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); +use English '-no_match_vars'; + +use Exporter qw(import); + our @EXPORT = qw(); +use Fcntl qw(SEEK_CUR O_RDONLY O_WRONLY O_CREAT); +use File::Basename qw(dirname basename); +use Scalar::Util qw(blessed); + +use pgBackRest::Common::Exception; +use pgBackRest::Common::Lock; +use pgBackRest::Common::Log; +use pgBackRest::Archive::ArchiveCommon; +use pgBackRest::Archive::ArchiveInfo; +use pgBackRest::Common::String; +use pgBackRest::Common::Wait; +use pgBackRest::Config::Config; +use pgBackRest::Db; +use pgBackRest::DbVersion; +use pgBackRest::File; +use pgBackRest::FileCommon; +use pgBackRest::Protocol::Common; +use pgBackRest::Protocol::Protocol; + +#################################################################################################################################### +# process +#################################################################################################################################### +sub process +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my ($strOperation) = logDebugParam(__PACKAGE__ . '->process'); + + # Make sure the archive file is defined + if (!defined($ARGV[1])) + { + confess &log(ERROR, 'WAL segment not provided', ERROR_PARAM_REQUIRED); + } + + # Make sure the destination file is defined + if (!defined($ARGV[2])) + { + confess &log(ERROR, 'WAL segment destination not provided', ERROR_PARAM_REQUIRED); + } + + # Info for the Postgres log + &log(INFO, 'get WAL segment ' . $ARGV[1]); + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'iResult', value => $self->get($ARGV[1], $ARGV[2]), trace => true} + ); +} + +#################################################################################################################################### +# get +#################################################################################################################################### +sub get +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $strSourceArchive, + $strDestinationFile + ) = + logDebugParam + ( + __PACKAGE__ . '->get', \@_, + {name => 'strSourceArchive'}, + {name => 'strDestinationFile'} + ); + + lockStopTest(); + + # Create the file object + my $oFile = new pgBackRest::File + ( + optionGet(OPTION_STANZA), + optionGet(OPTION_REPO_PATH), + protocolGet(BACKUP) + ); + + # Construct absolute path to the WAL file when it is relative + $strDestinationFile = walPath($strDestinationFile, optionGet(OPTION_DB_PATH, false), commandGet()); + + # Get the wal segment filename + my $strArchiveId = $self->getCheck($oFile); + my $strArchiveFile = walFind($oFile, $strArchiveId, $strSourceArchive, false); + + # If there are no matching archive files then there are two possibilities: + # 1) The end of the archive stream has been reached, this is normal and a 1 will be returned + # 2) There is a hole in the archive stream and a hard error should be returned. However, holes are possible due to async + # archiving - so when to report a hole? Since a hard error will cause PG to terminate, for now treat as case #1. + my $iResult = 0; + + if (!defined($strArchiveFile)) + { + &log(INFO, "unable to find ${strSourceArchive} in the archive"); + + $iResult = 1; + } + else + { + # Determine if the source file is already compressed + my $bSourceCompressed = $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$" ? true : false; + + # Copy the archive file to the requested location + $oFile->copy(PATH_BACKUP_ARCHIVE, "${strArchiveId}/${strArchiveFile}", # Source file + PATH_DB_ABSOLUTE, $strDestinationFile, # Destination file + $bSourceCompressed, # Source compression based on detection + false); # Destination is not compressed + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'iResult', value => $iResult} + ); +} + +#################################################################################################################################### +# getArchiveId +# +# CAUTION: Only to be used by commands where the DB Version and DB System ID are not important such that the db-path is not valid +# for the command (i.e. expire command). Since this function will not check validity of the database version call getCheck() +# instead. +#################################################################################################################################### +sub getArchiveId +{ + my $self = shift; + my $oFile = shift; + + # Assign function parameters, defaults, and log debug info + my ($strOperation) = logDebugParam(__PACKAGE__ . '->getArchiveId'); + + my $strArchiveId; + + if ($oFile->isRemote(PATH_BACKUP_ARCHIVE)) + { + $strArchiveId = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_GET_ARCHIVE_ID, undef, true); + } + else + { + $strArchiveId = (new pgBackRest::Archive::ArchiveInfo($oFile->pathGet(PATH_BACKUP_ARCHIVE), true))->archiveId(); + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'strArchiveId', value => $strArchiveId, trace => true} + ); +} + +1; diff --git a/lib/pgBackRest/Archive/ArchivePush.pm b/lib/pgBackRest/Archive/ArchivePush.pm new file mode 100644 index 0000000000..6d90387dd5 --- /dev/null +++ b/lib/pgBackRest/Archive/ArchivePush.pm @@ -0,0 +1,673 @@ +#################################################################################################################################### +# ARCHIVE PUSH MODULE +#################################################################################################################################### +package pgBackRest::Archive::ArchivePush; +use parent 'pgBackRest::Archive::Archive'; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); +use English '-no_match_vars'; + +use Exporter qw(import); + our @EXPORT = qw(); +use Fcntl qw(SEEK_CUR O_RDONLY O_WRONLY O_CREAT); +use File::Basename qw(dirname basename); +use Scalar::Util qw(blessed); + +use pgBackRest::Common::Exception; +use pgBackRest::Common::Lock; +use pgBackRest::Common::Log; +use pgBackRest::Archive::ArchiveCommon; +use pgBackRest::Archive::ArchiveInfo; +use pgBackRest::Common::String; +use pgBackRest::Common::Wait; +use pgBackRest::Config::Config; +use pgBackRest::Db; +use pgBackRest::DbVersion; +use pgBackRest::File; +use pgBackRest::FileCommon; +use pgBackRest::Protocol::Common; +use pgBackRest::Protocol::Protocol; + +#################################################################################################################################### +# PostgreSQL WAL magic +#################################################################################################################################### +my $oWalMagicHash = +{ + hex('0xD062') => PG_VERSION_83, + hex('0xD063') => PG_VERSION_84, + hex('0xD064') => PG_VERSION_90, + hex('0xD066') => PG_VERSION_91, + hex('0xD071') => PG_VERSION_92, + hex('0xD075') => PG_VERSION_93, + hex('0xD07E') => PG_VERSION_94, + hex('0xD087') => PG_VERSION_95, + hex('0xD093') => PG_VERSION_96, +}; + +#################################################################################################################################### +# process +#################################################################################################################################### +sub process +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my ($strOperation) = logDebugParam(__PACKAGE__ . '->process'); + + # Make sure the archive push command happens on the db side + if (!isDbLocal()) + { + confess &log(ERROR, CMD_ARCHIVE_PUSH . ' operation must run on the db host'); + } + + # Batch flag indicates that the archive-push command was called without a WAL segment + my $bBatch = false; + + # If an archive section has been defined, use that instead of the backup section when command is CMD_ARCHIVE_PUSH + my $bArchiveAsync = optionGet(OPTION_ARCHIVE_ASYNC); + + # If logging locally then create the stop archiving file name + my $strStopFile; + + if ($bArchiveAsync) + { + $strStopFile = optionGet(OPTION_SPOOL_PATH) . '/stop/' . optionGet(OPTION_STANZA) . "-archive.stop"; + } + + # If an archive file is defined, then push it + my $oException = undef; + + if (defined($ARGV[1])) + { + # If the stop file exists then discard the archive log + if ($bArchiveAsync) + { + if (-e $strStopFile) + { + &log(ERROR, "discarding " . basename($ARGV[1]) . + " due to the archive store max size exceeded" . + " - remove the archive stop file (${strStopFile}) to resume archiving" . + " and be sure to take a new backup as soon as possible"); + return 0; + } + } + + &log(INFO, 'push WAL segment ' . $ARGV[1] . ($bArchiveAsync ? ' asynchronously' : '')); + + # Push WAL segment - when async, any error will be deferred until after the async process has been started + eval + { + $self->push($ARGV[1], $bArchiveAsync); + return true; + } + or do + { + $oException = $EVAL_ERROR; + + if (!$bArchiveAsync || !optionGet(OPTION_TEST_FORK)) + { + confess $oException; + } + }; + } + # If archive-push is called without a WAL segment then still run in batch mode to clear out the async queue + else + { + $bBatch = true; + } + + # If async or batch mode then acquire a lock. Also fork if in async mode so that the parent process can return to Postres. + if ($bArchiveAsync || $bBatch) + { + # Create a lock file to make sure async archive-push does not run more than once + if (!lockAcquire(commandGet(), false)) + { + logDebugMisc($strOperation, 'async archive-push process is already running - exiting'); + $bBatch = false; + } + else + { + # Only fork if a WAL segment was specified, otherwise jut run + if (!$bBatch) + { + # Fork and disable the async archive flag if this is the parent process + if (optionGet(OPTION_TEST_FORK)) + { + $bBatch = fork() == 0 ? true : false; + } + # Else the no-fork flag has been specified for testing + else + { + logDebugMisc($strOperation, 'no fork on archive local for TESTING'); + $bBatch = true; + } + } + } + } + + # Continue with batch processing + if ($bBatch) + { + # Start the async archive push + logDebugMisc($strOperation, 'start async archive-push'); + + # Open the log file + logFileSet(optionGet(OPTION_LOG_PATH) . '/' . optionGet(OPTION_STANZA) . '-archive-async'); + + # Call the archive_xfer function and continue to loop as long as there are files to process + my $iLogTotal; + + while (!defined($iLogTotal) || $iLogTotal > 0) + { + $iLogTotal = $self->xfer(optionGet(OPTION_SPOOL_PATH) . "/archive/" . + optionGet(OPTION_STANZA) . "/out", $strStopFile); + + if ($iLogTotal > 0) + { + logDebugMisc($strOperation, "transferred ${iLogTotal} WAL segment" . + ($iLogTotal > 1 ? 's' : '') . ', calling Archive->xfer() again'); + } + else + { + logDebugMisc($strOperation, 'transfer found 0 WAL segments - exiting'); + } + } + + lockRelease(); + } + elsif (defined($oException)) + { + confess $oException; + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'iResult', value => 0, trace => true} + ); +} + +#################################################################################################################################### +# walInfo +# +# Retrieve information such as db version and system identifier from a WAL segment. +#################################################################################################################################### +sub walInfo +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $strWalFile, + ) = + logDebugParam + ( + __PACKAGE__ . '->walInfo', \@_, + {name => 'strWalFile'} + ); + + # Open the WAL segment and read magic number + #------------------------------------------------------------------------------------------------------------------------------- + my $hFile; + my $tBlock; + + sysopen($hFile, $strWalFile, O_RDONLY) + or confess &log(ERROR, "unable to open ${strWalFile}", ERROR_FILE_OPEN); + + # Read magic + sysread($hFile, $tBlock, 2) == 2 + or confess &log(ERROR, "unable to read xlog magic"); + + my $iMagic = unpack('S', $tBlock); + + # Map the WAL magic number to the version of PostgreSQL. + # + # The magic number can be found in src/include/access/xlog_internal.h The offset can be determined by counting bytes in the + # XLogPageHeaderData struct, though this value rarely changes. + #------------------------------------------------------------------------------------------------------------------------------- + my $strDbVersion = $$oWalMagicHash{$iMagic}; + + if (!defined($strDbVersion)) + { + confess &log(ERROR, "unexpected WAL magic 0x" . sprintf("%X", $iMagic) . "\n" . + 'HINT: is this version of PostgreSQL supported?', + ERROR_VERSION_NOT_SUPPORTED); + } + + # Map the WAL PostgreSQL version to the system identifier offset. The offset can be determined by counting bytes in the + # XLogPageHeaderData struct, though this value rarely changes. + #------------------------------------------------------------------------------------------------------------------------------- + my $iSysIdOffset = $strDbVersion >= PG_VERSION_93 ? PG_WAL_SYSTEM_ID_OFFSET_GTE_93 : PG_WAL_SYSTEM_ID_OFFSET_LT_93; + + # Check flags to be sure the long header is present (this is an extra check to be sure the system id exists) + #------------------------------------------------------------------------------------------------------------------------------- + sysread($hFile, $tBlock, 2) == 2 + or confess &log(ERROR, "unable to read xlog info"); + + my $iFlag = unpack('S', $tBlock); + + # Make sure that the long header is present or there won't be a system id + $iFlag & 2 + or confess &log(ERROR, "expected long header in flags " . sprintf("%x", $iFlag)); + + # Get the system id + #------------------------------------------------------------------------------------------------------------------------------- + sysseek($hFile, $iSysIdOffset, SEEK_CUR) + or confess &log(ERROR, "unable to read padding"); + + sysread($hFile, $tBlock, 8) == 8 + or confess &log(ERROR, "unable to read database system identifier"); + + length($tBlock) == 8 + or confess &log(ERROR, "block is incorrect length"); + + close($hFile); + + my $ullDbSysId = unpack('Q', $tBlock); + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'strDbVersion', value => $strDbVersion}, + {name => 'ullDbSysId', value => $ullDbSysId} + ); +} + +#################################################################################################################################### +# push +#################################################################################################################################### +sub push +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $strSourceFile, + $bAsync + ) = + logDebugParam + ( + __PACKAGE__ . '->push', \@_, + {name => 'strSourceFile'}, + {name => 'bAsync'} + ); + + # Create the file object + my $oFile = new pgBackRest::File + ( + optionGet(OPTION_STANZA), + $bAsync ? optionGet(OPTION_SPOOL_PATH) : optionGet(OPTION_REPO_PATH), + protocolGet($bAsync ? NONE : BACKUP) + ); + + lockStopTest(); + + # Construct absolute path to the WAL file when it is relative + $strSourceFile = walPath($strSourceFile, optionGet(OPTION_DB_PATH, false), commandGet()); + + # Get the destination file + my $strDestinationFile = basename($strSourceFile); + + # Get the compress flag + my $bCompress = $bAsync ? false : optionGet(OPTION_COMPRESS); + + # Determine if this is an archive file (don't do compression or checksum on .backup, .history, etc.) + my $bArchiveFile = basename($strSourceFile) =~ /^[0-F]{24}(\.partial){0,1}$/ ? true : false; + + # Determine if this is a partial archive file + my $bPartial = $bArchiveFile && basename($strSourceFile) =~ /\.partial/ ? true : false; + + # Check that there are no issues with pushing this WAL segment + my $strArchiveId; + my $strChecksum = undef; + + if (!$bAsync) + { + if ($bArchiveFile) + { + my ($strDbVersion, $ullDbSysId) = $self->walInfo($strSourceFile); + ($strArchiveId, $strChecksum) = $self->pushCheck( + $oFile, substr(basename($strSourceFile), 0, 24), $bPartial, $strSourceFile, $strDbVersion, $ullDbSysId); + } + else + { + $strArchiveId = $self->getCheck($oFile); + } + } + + # Only copy the WAL segment if checksum is not defined. If checksum is defined it means that the WAL segment already exists + # in the repository with the same checksum (else there would have been an error on checksum mismatch). + if (!defined($strChecksum)) + { + # Append compression extension + if ($bArchiveFile && $bCompress) + { + $strDestinationFile .= '.' . $oFile->{strCompressExtension}; + } + + # Copy the WAL segment + $oFile->copy(PATH_DB_ABSOLUTE, $strSourceFile, # Source type/file + $bAsync ? PATH_BACKUP_ARCHIVE_OUT : PATH_BACKUP_ARCHIVE, # Destination type + ($bAsync ? '' : "${strArchiveId}/") . $strDestinationFile, # Destination file + false, # Source is not compressed + $bArchiveFile && $bCompress, # Destination compress is configurable + undef, undef, undef, # Unused params + true, # Create path if it does not exist + undef, undef, # User and group + $bArchiveFile, # Append checksum if archive file + $bAsync ? true : optionGet(OPTION_REPO_SYNC)); # Sync if spool, else check repo sync option + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation + ); +} + +#################################################################################################################################### +# pushCheck +#################################################################################################################################### +sub pushCheck +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $oFile, + $strWalSegment, + $bPartial, + $strWalFile, + $strDbVersion, + $ullDbSysId, + ) = + logDebugParam + ( + __PACKAGE__ . '->pushCheck', \@_, + {name => 'oFile'}, + {name => 'strWalSegment'}, + {name => 'bPartial'}, + {name => 'strWalFile', required => false}, + {name => 'strDbVersion'}, + {name => 'ullDbSysId'}, + ); + + # Set operation and debug strings + my $strArchiveId; + my $strChecksum; + + if ($oFile->isRemote(PATH_BACKUP_ARCHIVE)) + { + # Execute the command + ($strArchiveId, $strChecksum) = $oFile->{oProtocol}->cmdExecute( + OP_ARCHIVE_PUSH_CHECK, [$strWalSegment, $bPartial, undef, $strDbVersion, $ullDbSysId], true); + } + else + { + # If the info file exists check db version and system-id else error + $strArchiveId = (new pgBackRest::Archive::ArchiveInfo($oFile->pathGet(PATH_BACKUP_ARCHIVE)))->check( + $strDbVersion, $ullDbSysId); + + # Check if the WAL segment already exists in the archive + $strChecksum = walFind($oFile, $strArchiveId, $strWalSegment, $bPartial); + + if (defined($strChecksum)) + { + $strChecksum = substr($strChecksum, $bPartial ? 33 : 25, 40); + } + } + + if (defined($strChecksum) && defined($strWalFile)) + { + my $strChecksumNew = $oFile->hash(PATH_DB_ABSOLUTE, $strWalFile); + + if ($strChecksumNew ne $strChecksum) + { + confess &log(ERROR, "WAL segment ${strWalSegment}" . ($bPartial ? '.partial' : '') . + ' already exists in the archive', ERROR_ARCHIVE_DUPLICATE); + } + + &log(WARN, "WAL segment ${strWalSegment}" . ($bPartial ? '.partial' : '') . + " already exists in the archive with the same checksum\n" . + "HINT: this is valid in some recovery scenarios but may also indicate a problem"); + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'strArchiveId', value => $strArchiveId}, + {name => 'strChecksum', value => $strChecksum} + ); +} + +#################################################################################################################################### +# xfer +#################################################################################################################################### +sub xfer +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $strArchivePath, + $strStopFile + ) = + logDebugParam + ( + __PACKAGE__ . '->xfer', \@_, + {name => 'strArchivePath'}, + {name => 'strStopFile'} + ); + + # Create a local file object to read archive logs in the local store + my $oFile = new pgBackRest::File + ( + optionGet(OPTION_STANZA), + optionGet(OPTION_REPO_PATH), + protocolGet(NONE) + ); + + # Load the archive manifest - all the files that need to be pushed + my $hManifest = $oFile->manifest(PATH_DB_ABSOLUTE, $strArchivePath); + + # Get all the files to be transferred and calculate the total size + my @stryFile; + my $lFileSize = 0; + my $lFileTotal = 0; + + foreach my $strFile (sort(keys(%{$hManifest}))) + { + if ($strFile =~ "^[0-F]{24}(\\.partial){0,1}(-[0-f]{40})(\\.$oFile->{strCompressExtension}){0,1}\$" || + $strFile =~ /^[0-F]{8}\.history$/ || $strFile =~ /^[0-F]{24}\.[0-F]{8}\.backup$/) + { + CORE::push(@stryFile, $strFile); + + $lFileSize += $hManifest->{$strFile}{size}; + $lFileTotal++; + } + } + + if ($lFileTotal == 0) + { + logDebugMisc($strOperation, 'no WAL segments to archive'); + + return 0; + } + else + { + my $oException = undef; + + eval + { + # Start backup test point + &log(TEST, TEST_ARCHIVE_PUSH_ASYNC_START); + + # If the archive repo is remote create a new file object to do the copies + if (!isRepoLocal()) + { + $oFile = new pgBackRest::File + ( + optionGet(OPTION_STANZA), + optionGet(OPTION_REPO_PATH), + protocolGet(BACKUP) + ); + } + + # Modify process name to indicate async archiving + $0 = $^X . ' ' . $0 . " --stanza=" . optionGet(OPTION_STANZA) . + "archive-push-async " . $stryFile[0] . '-' . $stryFile[scalar @stryFile - 1]; + + # Output files to be moved to backup + &log(INFO, "WAL segments to archive: total = ${lFileTotal}, size = " . fileSizeFormat($lFileSize)); + + # Transfer each file + foreach my $strFile (sort @stryFile) + { + # Construct the archive filename to backup + my $strArchiveFile = "${strArchivePath}/${strFile}"; + + # Determine if the source file is already compressed + my $bSourceCompressed = $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$" ? true : false; + + # Determine if this is an archive file (don't want to do compression or checksum on .backup files) + my $bArchiveFile = basename($strFile) =~ + "^[0-F]{24}(\\.partial){0,1}(-[0-f]+){0,1}(\\.$oFile->{strCompressExtension}){0,1}\$" ? true : false; + + # Determine if this is a partial archive file + my $bPartial = $bArchiveFile && basename($strFile) =~ /\.partial/ ? true : false; + + # Figure out whether the compression extension needs to be added or removed + my $bDestinationCompress = $bArchiveFile && optionGet(OPTION_COMPRESS); + my $strDestinationFile = basename($strFile); + + # Strip off existing checksum + my $strAppendedChecksum = undef; + + if ($bArchiveFile) + { + $strAppendedChecksum = substr($strDestinationFile, $bPartial ? 33 : 25, 40); + $strDestinationFile = substr($strDestinationFile, 0, $bPartial ? 32 : 24); + } + + if ($bDestinationCompress) + { + $strDestinationFile .= ".$oFile->{strCompressExtension}"; + } + + logDebugMisc + ( + $strOperation, undef, + {name => 'strFile', value => $strFile}, + {name => 'bArchiveFile', value => $bArchiveFile}, + {name => 'bSourceCompressed', value => $bSourceCompressed}, + {name => 'bDestinationCompress', value => $bDestinationCompress} + ); + + # Check that there are no issues with pushing this WAL segment + my $strArchiveId; + my $strChecksum = undef; + + if ($bArchiveFile) + { + my ($strDbVersion, $ullDbSysId) = $self->walInfo($strArchiveFile); + ($strArchiveId, $strChecksum) = $self->pushCheck( + $oFile, substr(basename($strArchiveFile), 0, 24), $bPartial, $strArchiveFile, $strDbVersion, $ullDbSysId); + } + else + { + $strArchiveId = $self->getCheck($oFile); + } + + # Only copy the WAL segment if checksum is not defined. If checksum is defined it means that the WAL segment + # already exists in the repository with the same checksum (else there would have been an error on checksum + # mismatch). + if (!defined($strChecksum)) + { + # Copy the archive file + my ($bResult, $strCopyChecksum) = $oFile->copy( + PATH_DB_ABSOLUTE, $strArchiveFile, # Source path/file + PATH_BACKUP_ARCHIVE, # Destination path + "${strArchiveId}/${strDestinationFile}", # Destination file + $bSourceCompressed, # Source is not compressed + $bDestinationCompress, # Destination compress is configurable + undef, undef, undef, # Unused params + true, # Create path if it does not exist + undef, undef, # Unused params + true, # Append checksum + optionGet(OPTION_REPO_SYNC)); # Sync path if set + + # If appended checksum does not equal copy checksum + if (defined($strAppendedChecksum) && $strAppendedChecksum ne $strCopyChecksum) + { + confess &log( + ERROR, + "archive ${strArchiveFile} appended checksum ${strAppendedChecksum} does not match" . + " copy checksum ${strCopyChecksum}", ERROR_ARCHIVE_MISMATCH); + } + } + + # Remove the source archive file + unlink($strArchiveFile) + or confess &log(ERROR, "copied ${strArchiveFile} to archive successfully but unable to remove it locally. " . + 'This file will need to be cleaned up manually. If the problem persists, check if ' . + CMD_ARCHIVE_PUSH . ' is being run with different permissions in different contexts.'); + + # Remove the copied segment from the total size + $lFileSize -= $hManifest->{$strFile}{size}; + } + + return true; + } + or do + { + $oException = $EVAL_ERROR; + }; + + # Create a stop file if the archive store exceeds the max even after xfer + if (optionTest(OPTION_ARCHIVE_MAX_MB)) + { + my $iArchiveMaxMB = optionGet(OPTION_ARCHIVE_MAX_MB); + + if ($iArchiveMaxMB < int($lFileSize / 1024 / 1024)) + { + &log(ERROR, "local archive queue has exceeded limit of ${iArchiveMaxMB}MB" . + " - WAL segments will be discarded until the stop file (${strStopFile}) is removed"); + + filePathCreate(dirname($strStopFile), '0770'); + + my $hStopFile; + open($hStopFile, '>', $strStopFile) + or confess &log(ERROR, "unable to create stop file file ${strStopFile}"); + close($hStopFile); + } + } + + # If there was an exception before throw it now + if ($oException) + { + confess $oException; + } + } + + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'lFileTotal', value => $lFileTotal} + ); +} + +1; diff --git a/lib/pgBackRest/Backup.pm b/lib/pgBackRest/Backup.pm index 5998f6294d..1484d3c0e8 100644 --- a/lib/pgBackRest/Backup.pm +++ b/lib/pgBackRest/Backup.pm @@ -18,7 +18,7 @@ use pgBackRest::Common::Exit; use pgBackRest::Common::Ini; use pgBackRest::Common::Log; use pgBackRest::Common::Wait; -use pgBackRest::Archive::Archive; +use pgBackRest::Archive::ArchiveGet; use pgBackRest::Archive::ArchiveCommon; use pgBackRest::BackupCommon; use pgBackRest::BackupFile; @@ -891,14 +891,12 @@ sub process # After the backup has been stopped, need to make a copy of the archive logs to make the db consistent logDebugMisc($strOperation, "retrieve archive logs ${strArchiveStart}:${strArchiveStop}"); - my $oArchive = new pgBackRest::Archive::Archive(); - my $strArchiveId = $oArchive->getArchiveId($oFileLocal); + my $strArchiveId = new pgBackRest::Archive::ArchiveGet()->getArchiveId($oFileLocal); my @stryArchive = lsnFileRange($strLsnStart, $strLsnStop, $strDbVersion); foreach my $strArchive (@stryArchive) { - my $strArchiveFile = - $oArchive->walFileName($oFileLocal, $strArchiveId, $strArchive, false, optionGet(OPTION_ARCHIVE_TIMEOUT)); + my $strArchiveFile = walFind($oFileLocal, $strArchiveId, $strArchive, false, optionGet(OPTION_ARCHIVE_TIMEOUT)); $strArchive = substr($strArchiveFile, 0, 24); if (optionGet(OPTION_BACKUP_ARCHIVE_COPY)) diff --git a/lib/pgBackRest/Check/Check.pm b/lib/pgBackRest/Check/Check.pm index 70e18e591b..8627e7282e 100644 --- a/lib/pgBackRest/Check/Check.pm +++ b/lib/pgBackRest/Check/Check.pm @@ -8,6 +8,9 @@ use warnings FATAL => qw(all); use Carp qw(confess); use English '-no_match_vars'; +use pgBackRest::Archive::ArchiveCommon; +use pgBackRest::Archive::ArchiveGet; +use pgBackRest::BackupInfo; use pgBackRest::Common::Exception; use pgBackRest::Common::Log; use pgBackRest::Common::Wait; @@ -61,9 +64,6 @@ sub process protocolGet(isRepoLocal() ? DB : BACKUP) ); - # Initialize the archive object - my $oArchive = new pgBackRest::Archive::Archive(); - # Initialize the database object my $oDb = dbMasterGet(); @@ -111,7 +111,7 @@ sub process eval { # Check that the archive info file is written and is valid for the current database of the stanza - $strArchiveId = $oArchive->getCheck($oFile); + $strArchiveId = new pgBackRest::Archive::ArchiveGet()->getCheck($oFile); return true; } or do @@ -132,7 +132,7 @@ sub process eval { - $strArchiveFile = $oArchive->walFileName($oFile, $strArchiveId, $strWalSegment, false, $iArchiveTimeout); + $strArchiveFile = walFind($oFile, $strArchiveId, $strWalSegment, false, $iArchiveTimeout); return true; } # If this is a backrest error then capture the code and message else confess diff --git a/lib/pgBackRest/Expire.pm b/lib/pgBackRest/Expire.pm index 7370a02729..b25a791ad8 100644 --- a/lib/pgBackRest/Expire.pm +++ b/lib/pgBackRest/Expire.pm @@ -15,6 +15,7 @@ use Scalar::Util qw(looks_like_number); use pgBackRest::Common::Exception; use pgBackRest::Common::Log; use pgBackRest::Archive::ArchiveCommon; +use pgBackRest::Archive::ArchiveGet; use pgBackRest::BackupCommon; use pgBackRest::BackupInfo; use pgBackRest::Config::Config; @@ -279,15 +280,13 @@ sub process if ($oBackupInfo->test(INFO_BACKUP_SECTION_BACKUP_CURRENT, $strArchiveRetentionBackup, INFO_BACKUP_KEY_ARCHIVE_START)) { - # Get archive info - my $oArchive = new pgBackRest::Archive::Archive(); - my $strArchiveId = $oArchive->getArchiveId($oFile); - - my $strArchiveExpireMax; + # Get archive id + my $strArchiveId = new pgBackRest::Archive::ArchiveGet()->getArchiveId($oFile); # Get archive ranges to preserve. Because archive retention can be less than total retention it is important # to preserve archive that is required to make the older backups consistent even though they cannot be played # any further forward with PITR. + my $strArchiveExpireMax; my @oyArchiveRange; foreach my $strBackup ($oBackupInfo->list()) diff --git a/lib/pgBackRest/Protocol/RemoteMinion.pm b/lib/pgBackRest/Protocol/RemoteMinion.pm index 4a0ab6f3d7..4cc8480232 100644 --- a/lib/pgBackRest/Protocol/RemoteMinion.pm +++ b/lib/pgBackRest/Protocol/RemoteMinion.pm @@ -12,7 +12,8 @@ use File::Basename qw(dirname); use pgBackRest::BackupFile; use pgBackRest::Common::Log; -use pgBackRest::Archive::Archive; +use pgBackRest::Archive::ArchiveGet; +use pgBackRest::Archive::ArchivePush; use pgBackRest::Check::Check; use pgBackRest::Config::Config; use pgBackRest::Db; @@ -79,7 +80,8 @@ sub init $self ); - my $oArchive = new pgBackRest::Archive::Archive(); + my $oArchivePush = new pgBackRest::Archive::ArchivePush(); + my $oArchiveGet = new pgBackRest::Archive::ArchiveGet(); my $oCheck = new pgBackRest::Check::Check(); my $oInfo = new pgBackRest::Info(); my $oDb = new pgBackRest::Db(); @@ -87,10 +89,12 @@ sub init # Create anonymous subs for each command my $hCommandMap = { - # Archive commands - &OP_ARCHIVE_GET_ARCHIVE_ID => sub {$oArchive->getArchiveId($oFile)}, - &OP_ARCHIVE_GET_CHECK => sub {$oArchive->getCheck($oFile, @{shift()})}, - &OP_ARCHIVE_PUSH_CHECK => sub {$oArchive->pushCheck($oFile, @{shift()})}, + # ArchiveGet commands + &OP_ARCHIVE_GET_ARCHIVE_ID => sub {$oArchiveGet->getArchiveId($oFile)}, + &OP_ARCHIVE_GET_CHECK => sub {$oArchiveGet->getCheck($oFile, @{shift()})}, + + # ArchivePush commands + &OP_ARCHIVE_PUSH_CHECK => sub {$oArchivePush->pushCheck($oFile, @{shift()})}, # Check commands &OP_CHECK_BACKUP_INFO_CHECK => sub {$oCheck->backupInfoCheck($oFile, @{shift()})}, diff --git a/lib/pgBackRest/Stanza.pm b/lib/pgBackRest/Stanza.pm index edc5c87bd2..b3a5958ed0 100644 --- a/lib/pgBackRest/Stanza.pm +++ b/lib/pgBackRest/Stanza.pm @@ -16,7 +16,6 @@ use Exporter qw(import); use pgBackRest::Common::Exception; use pgBackRest::Common::Log; use pgBackRest::Config::Config; -use pgBackRest::Archive::Archive; use pgBackRest::Archive::ArchiveInfo; use pgBackRest::BackupInfo; use pgBackRest::Db; diff --git a/test/expect/archive-get-001.log b/test/expect/archive-get-001.log index 2cf9bd9cdb..41f2f81cce 100644 --- a/test/expect/archive-get-001.log +++ b/test/expect/archive-get-001.log @@ -5,7 +5,7 @@ run 001 - rmt 0, cmp 0, exists 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -97,7 +97,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 ERROR: [137]: stop file exists for all stanzas P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef] @@ -121,7 +121,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -137,12 +137,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000900000009, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] P00 INFO: unable to find 000000090000000900000009 in the archive -P00 DEBUG: Archive::Archive->get=>: iResult = 1 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 1 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 1, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 diff --git a/test/expect/archive-get-002.log b/test/expect/archive-get-002.log index ae2dde246c..90c8d34250 100644 --- a/test/expect/archive-get-002.log +++ b/test/expect/archive-get-002.log @@ -5,7 +5,7 @@ run 002 - rmt 0, cmp 0, exists 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -86,7 +86,7 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -102,12 +102,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -119,7 +119,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000002 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -135,12 +135,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -152,7 +152,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000003 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -168,12 +168,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 diff --git a/test/expect/archive-get-003.log b/test/expect/archive-get-003.log index 2a34f22cd2..50cb85aba4 100644 --- a/test/expect/archive-get-003.log +++ b/test/expect/archive-get-003.log @@ -5,7 +5,7 @@ run 003 - rmt 0, cmp 1, exists 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -97,7 +97,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 ERROR: [137]: stop file exists for all stanzas P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef] @@ -121,7 +121,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -137,12 +137,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000900000009, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] P00 INFO: unable to find 000000090000000900000009 in the archive -P00 DEBUG: Archive::Archive->get=>: iResult = 1 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 1 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 1, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 diff --git a/test/expect/archive-get-004.log b/test/expect/archive-get-004.log index f9cbbb9cc2..f5782e312e 100644 --- a/test/expect/archive-get-004.log +++ b/test/expect/archive-get-004.log @@ -5,7 +5,7 @@ run 004 - rmt 0, cmp 1, exists 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -86,7 +86,7 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -102,12 +102,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -119,7 +119,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000002 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -135,12 +135,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -152,7 +152,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000003 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -168,12 +168,12 @@ P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = true, strArchiveCluster P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 diff --git a/test/expect/archive-get-005.log b/test/expect/archive-get-005.log index aed9d96225..17d1f050d3 100644 --- a/test/expect/archive-get-005.log +++ b/test/expect/archive-get-005.log @@ -5,7 +5,7 @@ run 005 - rmt 1, cmp 0, exists 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -100,7 +100,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 ERROR: [137]: stop file exists for all stanzas P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef] @@ -124,7 +124,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -138,12 +138,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000900000009, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] P00 INFO: unable to find 000000090000000900000009 in the archive -P00 DEBUG: Archive::Archive->get=>: iResult = 1 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 1 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 1, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup diff --git a/test/expect/archive-get-006.log b/test/expect/archive-get-006.log index 19fcb876cb..c72a8b4a8a 100644 --- a/test/expect/archive-get-006.log +++ b/test/expect/archive-get-006.log @@ -5,7 +5,7 @@ run 006 - rmt 1, cmp 0, exists 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -89,7 +89,7 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -103,12 +103,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -122,7 +122,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000002 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -136,12 +136,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -155,7 +155,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000003 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -169,12 +169,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup diff --git a/test/expect/archive-get-007.log b/test/expect/archive-get-007.log index 9db067751f..38f04dfa9c 100644 --- a/test/expect/archive-get-007.log +++ b/test/expect/archive-get-007.log @@ -5,7 +5,7 @@ run 007 - rmt 1, cmp 1, exists 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -100,7 +100,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 ERROR: [137]: stop file exists for all stanzas P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef] @@ -124,7 +124,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000090000000900000009 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -138,12 +138,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000900000009, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] P00 INFO: unable to find 000000090000000900000009 in the archive -P00 DEBUG: Archive::Archive->get=>: iResult = 1 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 1 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 1, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup diff --git a/test/expect/archive-get-008.log b/test/expect/archive-get-008.log index e055885021..3f07b3b616 100644 --- a/test/expect/archive-get-008.log +++ b/test/expect/archive-get-008.log @@ -5,7 +5,7 @@ run 008 - rmt 1, cmp 1, exists 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -89,7 +89,7 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000001 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -103,12 +103,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -122,7 +122,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000002 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourceArchive = 000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -136,12 +136,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -155,7 +155,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: get WAL segment 000000010000000100000003 -P00 DEBUG: Archive::Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourceArchive = 000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -169,12 +169,12 @@ P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oD P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] -P00 DEBUG: Archive::Archive->get=>: iResult = 0 +P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup diff --git a/test/expect/archive-push-001.log b/test/expect/archive-push-001.log index efca6db911..6f59e5a5b7 100644 --- a/test/expect/archive-push-001.log +++ b/test/expect/archive-push-001.log @@ -5,13 +5,13 @@ run 001 - rmt 0, cmp 0, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 ERROR: [130]: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? @@ -66,22 +66,22 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -94,13 +94,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -116,13 +116,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -149,7 +149,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -176,27 +176,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -208,21 +208,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -238,22 +238,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -266,27 +266,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -298,21 +298,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -328,22 +328,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -356,22 +356,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -384,22 +384,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -412,22 +412,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -440,13 +440,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -462,13 +462,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -484,27 +484,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -516,21 +516,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -546,22 +546,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -574,27 +574,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -606,21 +606,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -636,22 +636,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -664,22 +664,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -692,22 +692,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -720,22 +720,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -748,13 +748,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -770,13 +770,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -792,27 +792,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -824,21 +824,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -854,22 +854,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -882,27 +882,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -914,21 +914,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-push-002.log b/test/expect/archive-push-002.log index 9c18b1f300..11a293c20e 100644 --- a/test/expect/archive-push-002.log +++ b/test/expect/archive-push-002.log @@ -5,25 +5,25 @@ run 002 - rmt 0, cmp 0, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 ERROR: [130]: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? @@ -78,44 +78,44 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -128,25 +128,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -162,25 +162,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -208,16 +208,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db --test --test-delay=5 --test-point=archive-push-async-start=y P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -235,7 +235,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 138 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db @@ -262,48 +262,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -316,33 +316,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -358,44 +358,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -408,48 +408,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -462,33 +462,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -504,44 +504,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -554,44 +554,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -604,44 +604,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -654,44 +654,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -704,25 +704,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -738,25 +738,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -772,48 +772,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -826,33 +826,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -868,44 +868,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -918,48 +918,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -972,33 +972,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1014,44 +1014,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1064,44 +1064,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1114,44 +1114,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1164,44 +1164,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1214,25 +1214,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -1248,25 +1248,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -1282,48 +1282,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1336,33 +1336,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1378,44 +1378,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1428,48 +1428,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1482,33 +1482,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-push-003.log b/test/expect/archive-push-003.log index 2f947e1243..f6b7dd0025 100644 --- a/test/expect/archive-push-003.log +++ b/test/expect/archive-push-003.log @@ -5,13 +5,13 @@ run 003 - rmt 0, cmp 1, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 ERROR: [130]: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? @@ -66,22 +66,22 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -94,13 +94,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -116,13 +116,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -138,27 +138,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -170,21 +170,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -200,22 +200,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -228,27 +228,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -260,21 +260,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -290,22 +290,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -318,22 +318,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -346,22 +346,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -374,22 +374,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -402,13 +402,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -424,13 +424,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -446,27 +446,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -478,21 +478,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -508,22 +508,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -536,27 +536,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -568,21 +568,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -598,22 +598,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -626,22 +626,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -654,22 +654,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -682,22 +682,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -710,13 +710,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -732,13 +732,13 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -754,27 +754,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -786,21 +786,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -816,22 +816,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -844,27 +844,27 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -876,21 +876,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-push-004.log b/test/expect/archive-push-004.log index f4904ed393..ed54ea1f8b 100644 --- a/test/expect/archive-push-004.log +++ b/test/expect/archive-push-004.log @@ -5,25 +5,25 @@ run 004 - rmt 0, cmp 1, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 ERROR: [130]: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? @@ -78,44 +78,44 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -128,25 +128,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -162,25 +162,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -196,48 +196,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -250,33 +250,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -292,44 +292,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -342,48 +342,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -396,33 +396,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -438,44 +438,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -488,44 +488,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -538,44 +538,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -588,44 +588,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -638,25 +638,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -672,25 +672,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -706,48 +706,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -760,33 +760,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -802,44 +802,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -852,48 +852,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -906,33 +906,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -948,44 +948,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -998,44 +998,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1048,44 +1048,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1098,44 +1098,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1148,25 +1148,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -1182,25 +1182,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 @@ -1216,48 +1216,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1270,33 +1270,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1312,44 +1312,44 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1362,48 +1362,48 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1416,33 +1416,33 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000009\.partial(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-push-005.log b/test/expect/archive-push-005.log index 09368dec16..602f656975 100644 --- a/test/expect/archive-push-005.log +++ b/test/expect/archive-push-005.log @@ -5,15 +5,15 @@ run 005 - rmt 1, cmp 0, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? HINT: has a stanza-create been performed? @@ -69,16 +69,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -93,15 +93,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -117,15 +117,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -152,7 +152,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] @@ -183,21 +183,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -211,15 +211,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -237,16 +237,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -261,21 +261,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -289,15 +289,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -315,16 +315,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -339,16 +339,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -363,16 +363,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -387,16 +387,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -411,15 +411,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -435,15 +435,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -459,21 +459,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -487,15 +487,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -513,16 +513,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -537,21 +537,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -565,15 +565,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -591,16 +591,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -615,16 +615,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -639,16 +639,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -663,16 +663,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -687,15 +687,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -711,15 +711,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -735,21 +735,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -763,15 +763,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -789,16 +789,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -813,21 +813,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -841,15 +841,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-push-006.log b/test/expect/archive-push-006.log index 74da46a6a9..bd2cd41ae9 100644 --- a/test/expect/archive-push-006.log +++ b/test/expect/archive-push-006.log @@ -5,16 +5,16 @@ run 006 - rmt 1, cmp 0, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -25,10 +25,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? HINT: has a stanza-create been performed? @@ -84,16 +84,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -104,21 +104,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -133,16 +133,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -153,10 +153,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -172,16 +172,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -192,10 +192,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -223,16 +223,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db --test --test-delay=5 --test-point=archive-push-async-start=y P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -250,7 +250,7 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 138 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db @@ -277,16 +277,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -297,25 +297,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -330,16 +330,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -350,10 +350,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -371,16 +371,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -391,21 +391,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -420,16 +420,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -440,25 +440,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -473,16 +473,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -493,10 +493,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -514,16 +514,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -534,21 +534,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -563,16 +563,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -583,21 +583,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -612,16 +612,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -632,21 +632,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -661,16 +661,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -681,21 +681,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -710,16 +710,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -730,10 +730,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -749,16 +749,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -769,10 +769,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -788,16 +788,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -808,25 +808,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -841,16 +841,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -861,10 +861,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -882,16 +882,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -902,21 +902,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -931,16 +931,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -951,25 +951,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -984,16 +984,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1004,10 +1004,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1025,16 +1025,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1045,21 +1045,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1074,16 +1074,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1094,21 +1094,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1123,16 +1123,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1143,21 +1143,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1172,16 +1172,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1192,21 +1192,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1221,16 +1221,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1241,10 +1241,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1260,16 +1260,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1280,10 +1280,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1299,16 +1299,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1319,25 +1319,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1352,16 +1352,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1372,10 +1372,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1393,16 +1393,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1413,21 +1413,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1442,16 +1442,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1462,25 +1462,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1495,16 +1495,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1515,10 +1515,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-push-007.log b/test/expect/archive-push-007.log index 0dfc775a7a..de1ae5b191 100644 --- a/test/expect/archive-push-007.log +++ b/test/expect/archive-push-007.log @@ -5,15 +5,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? HINT: has a stanza-create been performed? @@ -69,16 +69,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -93,15 +93,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -117,15 +117,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -141,21 +141,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -169,15 +169,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -195,16 +195,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -219,21 +219,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -247,15 +247,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -273,16 +273,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -297,16 +297,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -321,16 +321,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -345,16 +345,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -369,15 +369,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -393,15 +393,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -417,21 +417,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -445,15 +445,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -471,16 +471,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -495,21 +495,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -523,15 +523,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -549,16 +549,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -573,16 +573,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -597,16 +597,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -621,16 +621,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = /usr/bin/ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -645,15 +645,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -669,15 +669,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -693,21 +693,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -721,15 +721,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -747,16 +747,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -771,21 +771,21 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -799,15 +799,15 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-push-008.log b/test/expect/archive-push-008.log index 8a5b736ee4..b0ae26981f 100644 --- a/test/expect/archive-push-008.log +++ b/test/expect/archive-push-008.log @@ -5,16 +5,16 @@ run 008 - rmt 1, cmp 1, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -25,10 +25,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to push/get WAL segments HINT: is archive_command configured in postgresql.conf? HINT: has a stanza-create been performed? @@ -84,16 +84,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -104,21 +104,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -133,16 +133,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -153,10 +153,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -172,16 +172,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -192,10 +192,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -211,16 +211,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -231,25 +231,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -264,16 +264,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -284,10 +284,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -305,16 +305,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -325,21 +325,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -354,16 +354,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -374,25 +374,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -407,16 +407,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -427,10 +427,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -448,16 +448,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -468,21 +468,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -497,16 +497,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -517,21 +517,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -546,16 +546,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -566,21 +566,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -595,16 +595,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -615,21 +615,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -644,16 +644,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -664,10 +664,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -683,16 +683,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -703,10 +703,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -722,16 +722,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -742,25 +742,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -775,16 +775,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -795,10 +795,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -816,16 +816,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -836,21 +836,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -865,16 +865,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -885,25 +885,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -918,16 +918,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -938,10 +938,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -959,16 +959,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -979,21 +979,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1008,16 +1008,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1028,21 +1028,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1057,16 +1057,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1077,21 +1077,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1106,16 +1106,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1126,21 +1126,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = /usr/bin/ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1155,16 +1155,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1175,10 +1175,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1194,16 +1194,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1214,10 +1214,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1233,16 +1233,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1253,25 +1253,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1286,16 +1286,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1306,10 +1306,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1327,16 +1327,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1347,21 +1347,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1376,16 +1376,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1396,25 +1396,25 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1429,16 +1429,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -1449,10 +1449,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/archive-stop-001.log b/test/expect/archive-stop-001.log index d09a85cbaa..18db2cfff2 100644 --- a/test/expect/archive-stop-001.log +++ b/test/expect/archive-stop-001.log @@ -43,44 +43,44 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -93,25 +93,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -127,25 +127,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -178,22 +178,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -213,50 +213,50 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 2 -P00 DEBUG: Archive::Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive::ArchivePush->process: transferred 2 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/archive-stop-002.log b/test/expect/archive-stop-002.log index 3578558794..97d56a505d 100644 --- a/test/expect/archive-stop-002.log +++ b/test/expect/archive-stop-002.log @@ -43,44 +43,44 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -93,25 +93,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -127,25 +127,25 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 @@ -178,22 +178,22 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -213,50 +213,50 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 2 -P00 DEBUG: Archive::Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive::ArchivePush->process: transferred 2 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/archive-stop-003.log b/test/expect/archive-stop-003.log index eba03ba9e7..93340c9079 100644 --- a/test/expect/archive-stop-003.log +++ b/test/expect/archive-stop-003.log @@ -43,16 +43,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -63,21 +63,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -92,16 +92,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -112,10 +112,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -131,16 +131,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -151,10 +151,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 ERROR: [199]: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) is removed @@ -187,16 +187,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-2] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -218,8 +218,8 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -230,27 +230,27 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 2 -P00 DEBUG: Archive::Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive::ArchivePush->process: transferred 2 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/archive-stop-004.log b/test/expect/archive-stop-004.log index 3eb8c60fd1..cef18b2a97 100644 --- a/test/expect/archive-stop-004.log +++ b/test/expect/archive-stop-004.log @@ -43,16 +43,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -63,21 +63,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -92,16 +92,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=bogus --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -122,16 +122,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 124 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=bogus --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -169,16 +169,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-2] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -200,8 +200,8 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -212,27 +212,27 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 2 -P00 DEBUG: Archive::Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive::ArchivePush->process: transferred 2 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/archive-stop-005.log b/test/expect/archive-stop-005.log index 88458e0a38..ffa76c442e 100644 --- a/test/expect/archive-stop-005.log +++ b/test/expect/archive-stop-005.log @@ -43,16 +43,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -63,21 +63,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -92,16 +92,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -112,10 +112,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -131,16 +131,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 119 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -151,10 +151,10 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 ERROR: [199]: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) is removed @@ -187,16 +187,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-2] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -218,8 +218,8 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -230,27 +230,27 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 2 -P00 DEBUG: Archive::Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive::ArchivePush->process: transferred 2 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/archive-stop-006.log b/test/expect/archive-stop-006.log index 30d3fd3056..b0de7a6178 100644 --- a/test/expect/archive-stop-006.log +++ b/test/expect/archive-stop-006.log @@ -43,16 +43,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -63,21 +63,21 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive::Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 1 +P00 DEBUG: Archive::ArchivePush->process: transferred 1 WAL segment, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -92,16 +92,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=bogus --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -122,16 +122,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 124 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=bogus --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously -P00 DEBUG: Archive::Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/spool, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: no fork on archive local for TESTING +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -169,16 +169,16 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-2] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -200,8 +200,8 @@ P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive::Archive->pushProcess: start async archive-push -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->process: start async archive-push +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db @@ -212,27 +212,27 @@ P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 INFO: WAL segments to archive: total = 2, size = 32MB -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive::Archive->xfer=>: lFileTotal = 2 -P00 DEBUG: Archive::Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again -P00 DEBUG: Archive::Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop +P00 DEBUG: Archive::ArchivePush->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive::ArchivePush->process: transferred 2 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive::ArchivePush->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive::Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive::Archive->pushProcess: transfer found 0 WAL segments - exiting +P00 DEBUG: Archive::ArchivePush->xfer: no WAL segments to archive +P00 DEBUG: Archive::ArchivePush->process: transfer found 0 WAL segments - exiting P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/stanza-create-001.log b/test/expect/stanza-create-001.log index d8d66074a5..83fec086a0 100644 --- a/test/expect/stanza-create-001.log +++ b/test/expect/stanza-create-001.log @@ -88,22 +88,22 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/db-master/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db P00 DEBUG: Archive::ArchiveInfo->check(): bRequired = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive::ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: Archive::ArchiveInfo->check=>: strArchiveId = 9.4-1 -P00 DEBUG: Archive::Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 +P00 DEBUG: Archive::ArchiveCommon::walFind(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive::Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchiveCommon::walFind=>: strWalFileName = [undef] +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/stanza-create-002.log b/test/expect/stanza-create-002.log index 3c3b9dfe42..cfc3816913 100644 --- a/test/expect/stanza-create-002.log +++ b/test/expect/stanza-create-002.log @@ -88,16 +88,16 @@ db-version="9.4" ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-2] P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-push --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db -P00 DEBUG: Archive::Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 -P00 DEBUG: Archive::Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive::Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] +P00 DEBUG: Archive::ArchivePush->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 +P00 DEBUG: Archive::ArchivePush->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive::ArchivePush->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strExtraFunction = [undef], strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]