From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Race condition in recovery?
Date: Fri, 11 Jun 2021 10:46:45 -0400
Message-ID: <1880685.1623422805@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFiTN-srU8=ND8z2wV8G+vhYZ4dMeWWNrFd0Cq0X9mDaL2ntAw@mail.gmail.com>
References: <CA+TgmobANgehu3155Pds=39do9izsOjgVwSeKZ0avrSNQdjDOQ@mail.gmail.com>
<20210611.104036.2233408362728572267.horikyota.ntt@gmail.com>
<1832766.1623376398@sss.pgh.pa.us>
<20210611.151459.1951886846697638472.horikyota.ntt@gmail.com>
<CAFiTN-srU8=ND8z2wV8G+vhYZ4dMeWWNrFd0Cq0X9mDaL2ntAw@mail.gmail.com>
Dilip Kumar <dilipbalaut@gmail.com> writes:
> On Fri, Jun 11, 2021 at 11:45 AM Kyotaro Horiguchi
> <horikyota.ntt@gmail.com> wrote:
>>> ==~_~===-=-===~_~== pgsql.build/src/test/recovery/tmp_check/log/025_stuck_on_old_timeline_primary.log ==~_~===-=-===~_~==
>>> ...
>>> The system cannot find the path specified.
>>> 2021-06-10 22:56:17.754 EDT [60c2d0cf.54c:1] LOG: archive command failed with exit code 1
>>> 2021-06-10 22:56:17.754 EDT [60c2d0cf.54c:2] DETAIL: The failed archive command was: /usr/bin/perl "/home/pgrunner/bf/root/HEAD/pgsql/src/test/recovery/t/cp_history_files" "pg_wal\\000000010000000000000001" "/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/recovery/tmp_check/t_025_stuck_on_old_timeline_primary_data/archives/000000010000000000000001"
> Wal file copying will not create a problem for us, but I noticed that
> it is failing in copying the history files as well and that is
> creating a problem.
I think jacana uses msys[2?], so this likely indicates a problem
in path sanitization for the archive command. Andrew, any advice?
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, dilipbalaut@gmail.com, andrew@dunslane.net, horikyota.ntt@gmail.com, robertmhaas@gmail.com, hlinnaka@iki.fi
Subject: Re: Race condition in recovery?
In-Reply-To: <1880685.1623422805@sss.pgh.pa.us>
References: <CA+TgmobANgehu3155Pds=39do9izsOjgVwSeKZ0avrSNQdjDOQ@mail.gmail.com> <20210611.104036.2233408362728572267.horikyota.ntt@gmail.com> <1832766.1623376398@sss.pgh.pa.us> <20210611.151459.1951886846697638472.horikyota.ntt@gmail.com> <CAFiTN-srU8=ND8z2wV8G+vhYZ4dMeWWNrFd0Cq0X9mDaL2ntAw@mail.gmail.com> <1880685.1623422805@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox