Re: Rename RECOVERYXLOG to RECOVERYWAL?

From: David Steele <david(at)pgmasters(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Rename RECOVERYXLOG to RECOVERYWAL?
Date: 2017-09-02 12:15:45
Message-ID: be3ac432-d543-c178-7493-9820838f6ee6@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/1/17 7:53 PM, Michael Paquier wrote:
> On Sat, Sep 2, 2017 at 3:06 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> I don't think this really buys us anything. If we'd applied it to v10
>> maybe, but what do we get out of whacking it around now?
>>
>> "Consistency", I hear you cry! Fair point. But we never had a goal
>> of eliminating all internal references to "xlog", just the user-facing
>> ones. And since RECOVERYXLOG is not documented, I think there's a
>> good argument that it's not user-facing. You could argue that since
>> it shows up in the file system it's implicitly user-facing, and maybe
>> you're right; if some other committer really wants to make this
>> change, I won't grouse much. But personally I'd favor leaving it
>> alone to avoid having the behavior change a little bit in every new
>> release.
>
> I may be wrong, but I would suspect that some backup tools doing
> FS-level backup are checking on the existence of this file and skip
> it. From the point of view of operations, it does not matter much as
> any existing RECOVERYXLOG is unlinked before being replaced by a new
> one, but that would not be nice to add silently 16MB in each backup.

Yes, pgBackRest does have an "offline" mode that can be used (when the
database is shutdown) to do an FS-level backup.

It never occurred to me to exclude RECOVERYXLOG but with 1GB WAL
segments coming in v11 it might be a good idea.

--
-David
david(at)pgmasters(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-09-02 12:17:11 Re: Crash on promotion when recovery.conf is renamed
Previous Message Pavel Stehule 2017-09-02 12:05:57 Re: configure issue - warnings sort: No such file or directory