Re: standby recovery fails (tablespace related) (tentative patch and discussion)

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Paul Guo <pguo(at)pivotal(dot)io>
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-08 03:15:35
Message-ID: CA+hUKGKWL7-eR3whku7dWJN6xmv-7ki5mikxZE+z6mdTEgWHgQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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://travis-ci.org/postgresql-cfbot/postgresql/builds/555368907

--
Thomas Munro
https://enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2019-07-08 03:22:31 Re: refactoring - share str2*int64 functions
Previous Message Thomas Munro 2019-07-08 03:08:10 Re: tableam vs. TOAST