From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: joanaliang_05@126.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15221: Could not open file "pg_subtrans/0013"
Date: Wed, 6 Jun 2018 14:52:52 -0400
Message-ID: <20180606185252.abncl7f7utu2j7k3@alvherre.pgsql> (raw)
In-Reply-To: <152774888851.26724.14798732262740273682@wrigleys.postgresql.org>
On 2018-May-31, PG Bug reporting form wrote:
> we're using postgresql 10.2, postgresql is deployed in a docker image. it
> works well for some time. but one day we met errors when we test with load.
> In logs, we found below errors:
>
> 2018-05-28T10:08:38.487336192Z 2018-05-28 10:08:38.487 UTC [110] ERROR:
> could not access status of transaction 0
> 2018-05-28T10:08:38.487348231Z 2018-05-28 10:08:38.487 UTC [110] DETAIL:
> Could not open file "pg_subtrans/0013": Invalid argument.
While reviewing this bug report a few days ago I noticed that there was
one place that would report "could not open file" on a failure to
lseek(), because a wrong enum value used as function indicator was set.
It could not possibly be involved in this report, because that code is
only used by multixact.c and commit_ts.c in branch 10. Nevertheless, I
applied a patch to fix that.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, joanaliang_05@126.com
Subject: Re: BUG #15221: Could not open file "pg_subtrans/0013"
In-Reply-To: <20180606185252.abncl7f7utu2j7k3@alvherre.pgsql>
References: <152774888851.26724.14798732262740273682@wrigleys.postgresql.org> <20180606185252.abncl7f7utu2j7k3@alvherre.pgsql>
* 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