From: | Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru> |
---|---|
To: | Grigory Smolkin <g(dot)smolkin(at)postgrespro(dot)ru>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: history file on replica and double switchover |
Date: | 2020-09-03 23:29:36 |
Message-ID: | b3a3ff0c-eabd-58ad-94be-846b067fed33@postgrespro.ru |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 27.08.2020 16:02, Grigory Smolkin wrote:
> Hello!
>
> I`ve noticed, that when running switchover replica to master and back
> to replica, new history file is streamed to replica, but not archived,
> which is not great, because it breaks PITR if archiving is running on
> replica. The fix looks trivial.
> Bash script to reproduce the problem and patch are attached.
>
Thanks for the report. I agree that it looks like a bug.
For some reason, patch failed to apply on current master, even though I
don't see any difference in the code.
I'll attach this thread to the next commitfest, so it doesn't get lost.
--
Anastasia Lubennikova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2020-09-03 23:58:21 | Re: A micro-optimisation for walkdir() |
Previous Message | Tom Lane | 2020-09-03 22:46:35 | Re: Maximum password length |