From: | Paul Guo <pguo(at)pivotal(dot)io> |
---|---|
To: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
Cc: | Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: standby recovery fails (tablespace related) (tentative patch and discussion) |
Date: | 2019-07-15 10:52:01 |
Message-ID: | CAEET0ZFNE2-NQbaw70=EiuOw3JXSSQ_nkbbcXP91pY81vNE1zA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jul 8, 2019 at 11:16 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> On Wed, Jun 19, 2019 at 7:22 PM Paul Guo <pguo(at)pivotal(dot)io> wrote:
> > I updated the patch to v3. In this version, we skip the error if copydir
> fails due to missing src/dst directory,
> > but to make sure the ignoring is legal, I add a simple log/forget
> mechanism (Using List) similar to the xlog invalid page
> > checking mechanism. Two tap tests are included. One is actually from a
> previous patch by Kyotaro in this
> > email thread and another is added by me. In addition, dbase_desc() is
> fixed to make the message accurate.
>
> Hello Paul,
>
> FYI t/011_crash_recovery.pl is failing consistently on Travis CI with
> this patch applied:
>
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.org_postgresql-2Dcfbot_postgresql_builds_555368907&d=DwIBaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=Usi0ex6Ch92MsB5QQDgYFw&m=ABylo8AVfubiiYVbCBSgmNnHEMJhMqGXx5c0hkug7Vw&s=5h4m_JhrZwZqsRsu1CHCD3W2eBl14mT8jWLFsj2-bJ4&e=
>
>
>
This failure is because the previous v3 patch does not align with a recent
patch
commit 660a2b19038b2f6b9f6bcb2c3297a47d5e3557a8
Author: Noah Misch <noah(at)leadboat(dot)com>
Date: Fri Jun 21 20:34:23 2019 -0700
Consolidate methods for translating a Perl path to a Windows path.
My patch uses TestLib::real_dir which is now replaced
with TestLib::perl2host in the above commit.
I've updated the patch to v4 to make my code align. Now the test passes in
my local environment.
Please see the attached v4 patch.
Thanks.
Attachment | Content-Type | Size |
---|---|---|
v4-0001-skip-copydir-if-either-src-directory-or-dst-direc.patch | application/octet-stream | 14.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2019-07-15 10:58:16 | Re: Adding SMGR discriminator to buffer tags |
Previous Message | Richard Guo | 2019-07-15 10:28:15 | Re: [HACKERS] WIP: Aggregation push-down |