Re: .ready and .done files considered harmful - Mailing list pgsql-hackers

From Dipesh Pandit
Subject Re: .ready and .done files considered harmful
Date
Msg-id CAN1g5_E_rjzQSrCo8VgDPyHybtrxcLkhixDiCS90RG_w=ZCu2w@mail.gmail.com
Whole thread Raw
In response to Re: .ready and .done files considered harmful  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
> specifically about history files being given higher priority for
> archiving.  If we go with this change then we'd at least want to rewrite
> or remove those comments, but I don't actually agree that we should
> remove that preference to archive history files ahead of WAL, for the
> reasons brought up previously.

> As was suggested on that subthread, it seems like it should be possible
> to just track the current timeline and adjust what we're doing if the
> timeline changes, and we should even know what the .history file is at
> that point and likely don't even need to scan the directory for it, as
> it'll be the old timeline ID.

I agree, I missed this part. The .history file should be given higher preference.
I will take care of it in the next patch.

Thanks,
Dipesh

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: proposal - log_full_scan
Next
From: vignesh C
Date:
Subject: Re: Identify missing publications from publisher while create/alter subscription.