From dbb9d80dab5a69130b34d1949a4aec889a49b758 Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 17 Nov 2016 09:39:21 -0500 Subject: [PATCH] Fixed an issue where asynchronous archiving was transferring one file per execution instead of transferring files in batches. This regression was introduced in v1.09 and affected efficiency only, all WAL segments were correctly archived in asynchronous mode. Reported by Stephen Frost. --- doc/xml/release.xml | 14 ++ doc/xml/user-guide.xml | 34 +++++ lib/pgBackRest/Archive.pm | 88 ++++++----- lib/pgBackRest/Version.pm | 2 +- test/expect/backup-archive-push-002.log | 128 ++++++++-------- test/expect/backup-archive-push-004.log | 120 +++++++-------- test/expect/backup-archive-push-006.log | 128 ++++++++-------- test/expect/backup-archive-push-008.log | 120 +++++++-------- test/expect/backup-archive-stop-001.log | 139 +++++++----------- test/expect/backup-archive-stop-002.log | 139 +++++++----------- test/expect/backup-archive-stop-003.log | 125 +++++++--------- test/expect/backup-archive-stop-004.log | 125 +++++++--------- test/expect/backup-archive-stop-005.log | 125 +++++++--------- test/expect/backup-archive-stop-006.log | 125 +++++++--------- test/lib/pgBackRestTest/Backup/BackupTest.pm | 41 +++++- .../Backup/Common/HostDbCommonTest.pm | 30 ++-- 16 files changed, 720 insertions(+), 763 deletions(-) diff --git a/doc/xml/release.xml b/doc/xml/release.xml index b3c04c253..c996dade6 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -133,6 +133,20 @@ + + + + + + + + +

Fixed an issue where asynchronous archiving was transferring one file per execution instead of transferring files in batches. This regression was introduced in v1.09 and affected efficiency only, all WAL segments were correctly archived in asynchronous mode.

+
+
+
+
+ diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml index 5d8e2c177..bd920a0a8 100644 --- a/doc/xml/user-guide.xml +++ b/doc/xml/user-guide.xml @@ -1466,6 +1466,40 @@ WAL segment + + + + DEBUG asynchronous archiving + + + rm /var/log/pgbackrest/demo-archive-async.log + + + + + psql -c " + select pg_create_restore_point('test asynchronous archiving'); + select pg_switch_xlog(); + select pg_create_restore_point('test asynchronous archiving'); + select pg_switch_xlog(); + select pg_create_restore_point('test asynchronous archiving'); + select pg_switch_xlog(); + select pg_create_restore_point('test asynchronous archiving'); + select pg_switch_xlog(); + select pg_create_restore_point('test asynchronous archiving'); + select pg_switch_xlog();" + + + + + sleep 5 + + + + cat /var/log/pgbackrest/demo-archive-async.log + WAL segments to archive + + diff --git a/lib/pgBackRest/Archive.pm b/lib/pgBackRest/Archive.pm index a1671dd48..3a59d1b84 100644 --- a/lib/pgBackRest/Archive.pm +++ b/lib/pgBackRest/Archive.pm @@ -573,8 +573,8 @@ sub pushProcess confess &log(ERROR, CMD_ARCHIVE_PUSH . ' operation must run on the db host'); } - # Load the archive object - use pgBackRest::Archive; + # 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); @@ -617,65 +617,77 @@ sub pushProcess { $oException = $EVAL_ERROR; - if (!$bArchiveAsync || !optionTest(OPTION_TEST_NO_FORK)) + if (!$bArchiveAsync || optionGet(OPTION_TEST_NO_FORK)) { confess $oException; } }; - - # Fork if async archiving is enabled - if ($bArchiveAsync) - { - # Fork and disable the async archive flag if this is the parent process - if (!optionTest(OPTION_TEST_NO_FORK)) - { - $bArchiveAsync = fork() == 0 ? true : false; - } - # Else the no-fork flag has been specified for testing - else - { - logDebugMisc($strOperation, 'no fork on archive local for TESTING'); - } - } + } + # 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 ($bArchiveAsync) + # 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) { - # Start the async archive push - logDebugMisc($strOperation, 'start async archive-push'); - # 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 { - # 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) + # Only fork if a WAL segment was specified, otherwise jut run + if (!$bBatch) { - $iLogTotal = $self->xfer(optionGet(OPTION_SPOOL_PATH) . "/archive/" . - optionGet(OPTION_STANZA) . "/out", $strStopFile); - - if ($iLogTotal > 0) + # Fork and disable the async archive flag if this is the parent process + if (!optionGet(OPTION_TEST_NO_FORK)) { - logDebugMisc($strOperation, "transferred ${iLogTotal} WAL segment" . - ($iLogTotal > 1 ? 's' : '') . ', calling Archive->xfer() again'); + $bBatch = fork() == 0 ? true : false; } + # Else the no-fork flag has been specified for testing else { - logDebugMisc($strOperation, 'transfer found 0 WAL segments - exiting'); + logDebugMisc($strOperation, 'no fork on archive local for TESTING'); + $bBatch = true; } } - - lockRelease(); } } + + # 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; diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 91755fe6f..67a355944 100644 --- a/lib/pgBackRest/Version.pm +++ b/lib/pgBackRest/Version.pm @@ -35,7 +35,7 @@ use constant BACKREST_BIN => abs_path( # Defines the current version of the BackRest executable. The version number is used to track features but does not affect what # repositories or manifests can be read - that's the job of the format number. #----------------------------------------------------------------------------------------------------------------------------------- -use constant BACKREST_VERSION => '1.10'; +use constant BACKREST_VERSION => '1.11dev'; push @EXPORT, qw(BACKREST_VERSION); # Format Format Number diff --git a/test/expect/backup-archive-push-002.log b/test/expect/backup-archive-push-002.log index 19bd1116a..07253564e 100644 --- a/test/expect/backup-archive-push-002.log +++ b/test/expect/backup-archive-push-002.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -63,10 +63,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -99,10 +99,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -147,10 +147,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -175,10 +175,6 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 ERROR: [137]: stop file exists for all stanzas -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 ERROR: [137]: stop file exists for all stanzas P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] P00 INFO: archive-push stop P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef] @@ -206,10 +202,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -263,10 +259,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -307,10 +303,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -360,10 +356,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -417,10 +413,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -461,10 +457,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -514,10 +510,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -567,10 +563,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -620,10 +616,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -673,10 +669,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -709,10 +705,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -745,10 +741,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -802,10 +798,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -846,10 +842,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -899,10 +895,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -956,10 +952,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1000,10 +996,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1053,10 +1049,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1106,10 +1102,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1159,10 +1155,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1212,10 +1208,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1248,10 +1244,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1284,10 +1280,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1341,10 +1337,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1385,10 +1381,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1438,10 +1434,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1495,10 +1491,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 diff --git a/test/expect/backup-archive-push-004.log b/test/expect/backup-archive-push-004.log index 8322c1719..ede3af007 100644 --- a/test/expect/backup-archive-push-004.log +++ b/test/expect/backup-archive-push-004.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -63,10 +63,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -99,10 +99,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -135,10 +135,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -192,10 +192,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -236,10 +236,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -289,10 +289,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -346,10 +346,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -390,10 +390,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -443,10 +443,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -496,10 +496,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -549,10 +549,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -602,10 +602,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -638,10 +638,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -674,10 +674,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -731,10 +731,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -775,10 +775,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -828,10 +828,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -885,10 +885,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -929,10 +929,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -982,10 +982,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1035,10 +1035,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1088,10 +1088,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1141,10 +1141,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1177,10 +1177,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1213,10 +1213,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1270,10 +1270,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1314,10 +1314,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1367,10 +1367,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1424,10 +1424,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 diff --git a/test/expect/backup-archive-push-006.log b/test/expect/backup-archive-push-006.log index a7b58a290..c6a43bfe2 100644 --- a/test/expect/backup-archive-push-006.log +++ b/test/expect/backup-archive-push-006.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -61,10 +61,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -101,10 +101,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -153,10 +153,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -181,10 +181,6 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 ERROR: [137]: stop file exists for all stanzas -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 ERROR: [137]: stop file exists for all stanzas P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] P00 INFO: archive-push stop P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef] @@ -212,10 +208,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -267,10 +263,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -309,10 +305,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -360,10 +356,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -415,10 +411,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -457,10 +453,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -508,10 +504,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -559,10 +555,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -610,10 +606,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -661,10 +657,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -701,10 +697,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -741,10 +737,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -796,10 +792,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -838,10 +834,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -889,10 +885,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -944,10 +940,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -986,10 +982,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1037,10 +1033,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1088,10 +1084,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1139,10 +1135,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1190,10 +1186,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1230,10 +1226,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1270,10 +1266,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1325,10 +1321,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1367,10 +1363,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1418,10 +1414,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1473,10 +1469,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 diff --git a/test/expect/backup-archive-push-008.log b/test/expect/backup-archive-push-008.log index 0973a045b..76496bedb 100644 --- a/test/expect/backup-archive-push-008.log +++ b/test/expect/backup-archive-push-008.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -61,10 +61,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -101,10 +101,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -141,10 +141,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -196,10 +196,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -238,10 +238,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -289,10 +289,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -344,10 +344,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -386,10 +386,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -437,10 +437,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -488,10 +488,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -539,10 +539,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -590,10 +590,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -630,10 +630,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -670,10 +670,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -725,10 +725,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -767,10 +767,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -818,10 +818,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -873,10 +873,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -915,10 +915,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -966,10 +966,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1017,10 +1017,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1068,10 +1068,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1119,10 +1119,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1159,10 +1159,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1199,10 +1199,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1254,10 +1254,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1296,10 +1296,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1347,10 +1347,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -1402,10 +1402,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 diff --git a/test/expect/backup-archive-stop-001.log b/test/expect/backup-archive-stop-001.log index dd85b5768..af1cd9a7f 100644 --- a/test/expect/backup-archive-stop-001.log +++ b/test/expect/backup-archive-stop-001.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -63,10 +63,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -99,10 +99,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -138,26 +138,59 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +> ls -1R [TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [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 --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 --no-fork --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->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none +[TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --no-archive-async archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [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 --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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push +P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 +P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive +P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db +P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.3-1 +P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.3-1 +P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.3-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.3-1/0000000100000001, strPathType = backup:absolute, strSortOrder = +P00 DEBUG: File->list=>: stryFileList = () +P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] +P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, 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 INFO: archive-push stop +P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] +P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false +P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 + +> ls -1R [TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [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 --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 --no-fork --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->pushProcess: start async archive-push P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 INFO: WAL segments to archive: total = 3, size = 48MB +P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -188,23 +221,8 @@ P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 -P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive -P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.3-1 -P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.3-1 -P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.3-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.3-1/0000000100000001, strPathType = backup:absolute, strSortOrder = -P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 3 -P00 DEBUG: Archive->pushProcess: transferred 3 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->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 @@ -221,55 +239,10 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +> ls -1R [TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [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 --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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 -P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive -P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.3-1 -P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.3-1 -P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.3-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.3-1/0000000100000001, strPathType = backup:absolute, strSortOrder = -P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = -P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] -P00 INFO: archive-push stop -P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] -P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false -P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 +[TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 diff --git a/test/expect/backup-archive-stop-002.log b/test/expect/backup-archive-stop-002.log index 1f6037e7a..9180f43f3 100644 --- a/test/expect/backup-archive-stop-002.log +++ b/test/expect/backup-archive-stop-002.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -63,10 +63,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -99,10 +99,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -138,26 +138,59 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +> ls -1R [TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --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 --no-fork --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->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 -P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none +[TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --no-archive-async archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [BACKREST-VERSION]: --no-archive-async --archive-max-mb=24 --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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push +P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 +P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive +P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db +P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.3-1 +P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.3-1 +P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.3-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.3-1/0000000100000001, strPathType = backup:absolute, strSortOrder = +P00 DEBUG: File->list=>: stryFileList = () +P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] +P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, 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 INFO: archive-push stop +P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] +P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false +P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 + +> ls -1R [TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --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 --no-fork --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->pushProcess: start async archive-push P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 INFO: WAL segments to archive: total = 3, size = 48MB +P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -188,23 +221,8 @@ P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 -P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive -P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.3-1 -P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.3-1 -P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.3-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.3-1/0000000100000001, strPathType = backup:absolute, strSortOrder = -P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 3 -P00 DEBUG: Archive->pushProcess: transferred 3 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->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 @@ -221,55 +239,10 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +> ls -1R [TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [BACKREST-VERSION]: --archive-async --archive-max-mb=24 --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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 -P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive -P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.3-1 -P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.3-1 -P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.3-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.3-1/0000000100000001, strPathType = backup:absolute, strSortOrder = -P00 DEBUG: File->list=>: stryFileList = () -P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = -P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] -P00 INFO: archive-push stop -P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] -P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false -P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 +[TEST_PATH]/db-master/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz diff --git a/test/expect/backup-archive-stop-003.log b/test/expect/backup-archive-stop-003.log index ba0c8e7f3..4e6418b70 100644 --- a/test/expect/backup-archive-stop-003.log +++ b/test/expect/backup-archive-stop-003.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -61,10 +61,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -101,10 +101,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -144,19 +144,47 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --no-archive-async archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db +P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, 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 INFO: archive-push stop +P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] +P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup +P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 +P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false +P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 + +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -168,7 +196,7 @@ 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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 3, size = 48MB +P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -181,14 +209,8 @@ P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 59479699905 P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000003, ullDbSysId = 5947969990501855219 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 3 -P00 DEBUG: Archive->pushProcess: transferred 3 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->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 @@ -207,53 +229,10 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = -P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] -P00 INFO: archive-push stop -P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] -P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup -P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 -P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false -P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 diff --git a/test/expect/backup-archive-stop-004.log b/test/expect/backup-archive-stop-004.log index 89303685b..66f870edd 100644 --- a/test/expect/backup-archive-stop-004.log +++ b/test/expect/backup-archive-stop-004.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -61,10 +61,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -92,10 +92,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -126,19 +126,47 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --no-archive-async archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db +P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, 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 INFO: archive-push stop +P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] +P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup +P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 +P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false +P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 + +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -150,7 +178,7 @@ 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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 3, size = 48MB +P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -163,14 +191,8 @@ P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 59479699905 P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000003, ullDbSysId = 5947969990501855219 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 3 -P00 DEBUG: Archive->pushProcess: transferred 3 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->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 @@ -189,53 +211,10 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = -P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] -P00 INFO: archive-push stop -P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] -P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup -P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 -P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false -P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 diff --git a/test/expect/backup-archive-stop-005.log b/test/expect/backup-archive-stop-005.log index e8d01c980..5664757fc 100644 --- a/test/expect/backup-archive-stop-005.log +++ b/test/expect/backup-archive-stop-005.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -61,10 +61,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -101,10 +101,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -144,19 +144,47 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --no-archive-async archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db +P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, 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 INFO: archive-push stop +P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] +P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup +P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 +P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false +P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 + +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -168,7 +196,7 @@ 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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 3, size = 48MB +P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -181,14 +209,8 @@ P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 59479699905 P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000003, ullDbSysId = 5947969990501855219 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 3 -P00 DEBUG: Archive->pushProcess: transferred 3 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->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 @@ -207,53 +229,10 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = -P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] -P00 INFO: archive-push stop -P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] -P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup -P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 -P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false -P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz diff --git a/test/expect/backup-archive-stop-006.log b/test/expect/backup-archive-stop-006.log index 0309d198e..f2abb3ce4 100644 --- a/test/expect/backup-archive-stop-006.log +++ b/test/expect/backup-archive-stop-006.log @@ -10,10 +10,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -61,10 +61,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -92,10 +92,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [u P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -126,19 +126,47 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --no-archive-async archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +------------------------------------------------------------------------------------------------------------------------------------ +P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db +P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 +P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 +P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, 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 INFO: archive-push stop +P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] +P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup +P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 +P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false +P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 + +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 +------------------------------------------------------------------------------------------------------------------------------------ +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz + +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push ------------------------------------------------------------------------------------------------------------------------------------ P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true +P00 DEBUG: Archive->pushProcess: start async archive-push P00 DEBUG: Archive->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 @@ -150,7 +178,7 @@ 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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 3, size = 48MB +P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -163,14 +191,8 @@ P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 59479699905 P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000003, ullDbSysId = 5947969990501855219 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 3 -P00 DEBUG: Archive->pushProcess: transferred 3 WAL segments, calling Archive->xfer() again +P00 DEBUG: Archive->xfer=>: lFileTotal = 2 +P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->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 @@ -189,53 +211,10 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 -> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 +> ls -1R [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push start [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-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 --no-fork --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->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], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING -P00 DEBUG: Archive->pushProcess: start async archive-push -P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push -P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 INFO: WAL segments to archive: total = 1, size = 16MB -P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 -P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 -P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = db:absolute, strUser = [undef] -P00 DEBUG: Archive->xfer=>: lFileTotal = 1 -P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again -P00 DEBUG: Archive->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], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute -P00 DEBUG: Archive->xfer: no WAL segments to archive -P00 DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = -P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] -P00 INFO: archive-push stop -P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] -P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup -P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 -P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 -P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false -P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0 +[TEST_PATH]/backup/repo/archive/db/9.3-1/0000000100000001: +000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz +000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz diff --git a/test/lib/pgBackRestTest/Backup/BackupTest.pm b/test/lib/pgBackRestTest/Backup/BackupTest.pm index 22ab273d9..1df18d903 100755 --- a/test/lib/pgBackRestTest/Backup/BackupTest.pm +++ b/test/lib/pgBackRestTest/Backup/BackupTest.pm @@ -452,9 +452,27 @@ sub backupTestRun # Remove the stop file fileRemove($oHostDbMaster->spoolPath() . '/stop/db-archive.stop'); - # Push two more segments - only #4 should be missing from the archive at the end - $oHostDbMaster->archivePush($strXlogPath, $strArchiveTestFile, 5); - $oHostDbMaster->archivePush($strXlogPath, $strArchiveTestFile, 6); + # Check the dir to be sure that segment 2 and 3 were not pushed yet + executeTest( + 'ls -1R ' . $oHostBackup->repoPath() . "/archive/${strStanza}/9.3-1/0000000100000001", + {oLogTest => $oLogTest, bRemote => $bRemote}); + + # Push segment 5 + $oHostDbMaster->archivePush($strXlogPath, $strArchiveTestFile, 5, undef, false); + + # Check that 5 is pushed + executeTest( + 'ls -1R ' . $oHostBackup->repoPath() . "/archive/${strStanza}/9.3-1/0000000100000001", + {oLogTest => $oLogTest, bRemote => $bRemote}); + + # Call push without a segment + $oHostDbMaster->archivePush($strXlogPath); + + # Check the dir to be sure that segment 2 and 3 were pushed + executeTest( + 'ls -1R ' . $oHostBackup->repoPath() . "/archive/${strStanza}/9.3-1/0000000100000001", + {oLogTest => $oLogTest, bRemote => $bRemote}); + } } } @@ -2016,6 +2034,23 @@ sub backupTestRun my $strFullBackup = $oHostBackup->backupEnd($strType, $oExecuteBackup); + # Kick out a bunch of archive logs to excercise async archiving. Only do this when compressed and remote to slow it + # down enough to make it evident that the async process is working. + if ($bArchiveAsync && $bCompress && $strBackupDestination eq HOST_BACKUP) + { + &log(INFO, ' multiple pg_switch_xlog() to exercise async archiving'); + $oHostDbMaster->sqlExecute("create table xlog_activity (id int)"); + $oHostDbMaster->sqlXlogRotate(); + $oHostDbMaster->sqlExecute("insert into xlog_activity values (1)"); + $oHostDbMaster->sqlXlogRotate(); + $oHostDbMaster->sqlExecute("insert into xlog_activity values (2)"); + $oHostDbMaster->sqlXlogRotate(); + $oHostDbMaster->sqlExecute("insert into xlog_activity values (3)"); + $oHostDbMaster->sqlXlogRotate(); + $oHostDbMaster->sqlExecute("insert into xlog_activity values (4)"); + $oHostDbMaster->sqlXlogRotate(); + } + # Setup replica #----------------------------------------------------------------------------------------------------------------------- if ($bHostStandby) diff --git a/test/lib/pgBackRestTest/Backup/Common/HostDbCommonTest.pm b/test/lib/pgBackRestTest/Backup/Common/HostDbCommonTest.pm index 3b10fffc0..8df0b1aba 100644 --- a/test/lib/pgBackRestTest/Backup/Common/HostDbCommonTest.pm +++ b/test/lib/pgBackRestTest/Backup/Common/HostDbCommonTest.pm @@ -146,32 +146,40 @@ sub archivePush $strArchiveTestFile, $iArchiveNo, $iExpectedError, + $bAsync, ) = logDebugParam ( __PACKAGE__ . '->archivePush', \@_, {name => 'strXlogPath'}, - {name => 'strArchiveTestFile'}, - {name => 'iArchiveNo'}, + {name => 'strArchiveTestFile', required => false}, + {name => 'iArchiveNo', required => false}, {name => 'iExpectedError', required => false}, + {name => 'bAsync', default => true}, ); - my $strSourceFile = "${strXlogPath}/" . uc(sprintf('0000000100000001%08x', $iArchiveNo)); + my $strSourceFile; - $self->{oFile}->copy( - PATH_DB_ABSOLUTE, $strArchiveTestFile, # Source file - PATH_DB_ABSOLUTE, $strSourceFile, # Destination file - false, # Source is not compressed - false, # Destination is not compressed - undef, undef, undef, # Unused params - true); # Create path if it does not exist + if (defined($strArchiveTestFile)) + { + $strSourceFile = "${strXlogPath}/" . uc(sprintf('0000000100000001%08x', $iArchiveNo)); + + $self->{oFile}->copy( + PATH_DB_ABSOLUTE, $strArchiveTestFile, # Source file + PATH_DB_ABSOLUTE, $strSourceFile, # Destination file + false, # Source is not compressed + false, # Destination is not compressed + undef, undef, undef, # Unused params + true); # Create path if it does not exist + } $self->executeSimple( $self->backrestExe() . ' --config=' . $self->backrestConfig() . ' --archive-max-mb=24 --no-fork --stanza=' . $self->stanza() . (defined($iExpectedError) && $iExpectedError == ERROR_HOST_CONNECT ? ' --backup-host=bogus' : '') . - " archive-push ${strSourceFile}", + ($bAsync ? '' : ' --no-archive-async') . + " archive-push" . (defined($strSourceFile) ? " ${strSourceFile}" : ''), {iExpectedExitStatus => $iExpectedError, oLogTest => $self->{oLogTest}, bLogOutput => $self->synthetic()}); # Return from function and log return values if any