1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-07 00:35:37 +02:00

Add hint about starting the stanza when WAL segment not found.

If a stop command has been issued the check command fails due to archiving timing out.

Provide a hint to document this situation and point the user in the proper direction.
This commit is contained in:
David Christensen
2020-09-03 07:49:49 -04:00
committed by David Steele
parent 76900d6764
commit 9fd31913a8
5 changed files with 24 additions and 4 deletions

View File

@ -273,7 +273,8 @@ testRun(void)
cmdCheck(), ArchiveTimeoutError,
"WAL segment 000000010000000100000001 was not archived before the 500ms timeout\n"
"HINT: check the archive_command to ensure that all options are correct (especially --stanza).\n"
"HINT: check the PostgreSQL server log for errors.");
"HINT: check the PostgreSQL server log for errors.\n"
"HINT: run the 'start' command if the stanza was previously stopped.");
// Create WAL segment
Buffer *buffer = bufNew(16 * 1024 * 1024);