1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-24 11:46:31 +02:00

remove spooky warning about first segment been greater than oldest to_keep segments

This commit is contained in:
Grigory Smolkin 2019-10-18 19:43:13 +03:00
parent ff40fcc4be
commit af42fbf9b6

View File

@ -870,8 +870,8 @@ delete_walfiles_in_tli(XLogRecPtr keep_lsn, timelineInfo *tlinfo,
* Assume the worst.
*/
if (FirstToDeleteSegNo > 0 && OldestToKeepSegNo > 0)
elog(WARNING, "On timeline %i first segment %08X%08X is greater than "
"oldest segment to keep %08X%08X. Possible WAL archive corruption!",
elog(LOG, "On timeline %i first segment %08X%08X is greater than "
"oldest segment to keep %08X%08X",
tlinfo->tli,
(uint32) FirstToDeleteSegNo / xlog_seg_size, (uint32) FirstToDeleteSegNo % xlog_seg_size,
(uint32) OldestToKeepSegNo / xlog_seg_size, (uint32) OldestToKeepSegNo % xlog_seg_size);