public inbox for [email protected]
help / color / mirror / Atom feedFrom: Michael Paquier <[email protected]>
To: 赵锐(惜元) <[email protected]>
Cc: pgsql-hackers <[email protected]>
Cc: Thomas Munro <[email protected]>
Subject: Re: pg_rewind fails with in-place tablespace
Date: Tue, 25 Jul 2023 16:36:42 +0900
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <24220ee7-9d0e-4278-8f46-164893ae78f4.>
<[email protected]>
<[email protected]>
On Wed, Jul 19, 2023 at 09:31:35PM +0800, 赵锐(惜元) wrote:
> Recently I encountered an issue: pg_rewind fails when dealing with
> in-place tablespace. The problem seems to be that pg_rewind is
> treating in-place tablespace as symbolic link, while in fact it
> should be treated as directory.
> Here is the output of pg_rewind:
> pg_rewind: error: file "pg_tblspc/16385" is of different type in
> source and target
> To help reproduce the failure, I have attached a tap test. And I am
> pleased to say that I have also identified a solution for this
> problem, which I have included in the patch.
> Thank you for your attention to this matter.
Issue reproduced here, and agreed that we'd better do something about
that. I am not sure if your patch is right for the job though, but
I'll try to study that a bit more.
--
Michael
Attachments:
[application/pgp-signature] signature.asc (833B, ../[email protected]/2-signature.asc)
download
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: pg_rewind fails with in-place tablespace
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox