| From: | Soumyadeep Chakraborty <soumyadeep2007(at)gmail(dot)com> |
|---|---|
| To: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
| Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, jyih(at)vmware(dot)com, kyeap(at)vmware(dot)com |
| Subject: | Re: PITR promote bug: Checkpointer writes to older timeline |
| Date: | 2021-03-04 23:42:05 |
| Message-ID: | CAE-ML+9q6p4gtMS1uK-A6=X4kg=0gBRkz9_4+QvwB4yKfF5pcw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hey all,
I took a stab at a quick and dirty TAP test (my first ever). So it
can probably be improved a lot. Please take a look.
On Thu, Mar 04, 2021 at 10:28:31AM +0900, Kyotaro Horiguchi wrote:
> 2. Restore ThisTimeLineID after calling XLogReadRecord() in the
> *caller* side. This is what came up to me first but I don't like
> this, too, but I don't find better fix. way.
+1 to this patch [1].
The above TAP test passes with this patch applied.
Regards,
Soumyadeep
Regards,
Soumyadeep
| Attachment | Content-Type | Size |
|---|---|---|
| tap_test_prepared_xact_pitr.patch | text/x-patch | 2.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hannu Krosing | 2021-03-04 23:57:27 | Re: PROXY protocol support |
| Previous Message | Masahiro Ikeda | 2021-03-04 23:38:20 | Re: About to add WAL write/fsync statistics to pg_stat_wal view |