mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-09 14:33:17 +02:00
add warning if waiting for START LSN during ARCHIVE backup is exceeding 30 seconds
This commit is contained in:
parent
ccccb1a743
commit
4acced609d
@ -1816,6 +1816,11 @@ wait_wal_lsn(XLogRecPtr lsn, bool is_start_lsn, bool wait_prev_segment)
|
||||
(uint32) (lsn >> 32), (uint32) lsn, wal_segment_path);
|
||||
}
|
||||
|
||||
if (!stream_wal && is_start_lsn && try_count == 30)
|
||||
elog(WARNING, "By default pg_probackup assume WAL delivery method to be ARCHIVE. "
|
||||
"If continius archiving is not set up, use '--stream' option to make autonomous backup. "
|
||||
"Otherwise check that continius archiving works correctly.");
|
||||
|
||||
if (timeout > 0 && try_count > timeout)
|
||||
{
|
||||
if (file_exists)
|
||||
|
Loading…
x
Reference in New Issue
Block a user