mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-03-30 23:04:31 +02:00
PGPRO-1973: Improve XLogWaitForConsistency() verbose message
This commit is contained in:
parent
a0fa72eeca
commit
95f4f50c86
@ -1300,8 +1300,13 @@ XLogWaitForConsistency(XLogReaderState *xlogreader)
|
||||
|
||||
if (log_message)
|
||||
{
|
||||
elog(VERBOSE, "Thread [%d]: Possible WAL corruption. Wait for other threads to decide is this a failure",
|
||||
reader_data->thread_num);
|
||||
char xlogfname[MAXFNAMELEN];
|
||||
|
||||
GetXLogFileName(xlogfname, reader_data->tli, reader_data->xlogsegno,
|
||||
wal_seg_size);
|
||||
|
||||
elog(VERBOSE, "Thread [%d]: Possible WAL corruption in %s. Wait for other threads to decide is this a failure",
|
||||
reader_data->thread_num, xlogfname);
|
||||
log_message = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user