From: | TAKATSUKA Haruka <harukat(at)sraoss(dot)co(dot)jp> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz> |
Subject: | Re: fix "Success" error messages |
Date: | 2019-11-21 01:42:57 |
Message-ID: | 20191121104257.a3010b3ec22f83e498147f74@sraoss.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello, pgsql-hackers
I'm gathering information about the following error.
FATAL: could not access status of transaction ..
DETAIL: Could not read from file (pg_clog/.... or pg_xact/....) ...: Success.
This error has caused the server to fail to start with recovery.
I got a report that it happend repeatedly at the newly generated
standby cluster. I gave them advice to comfirm the low level server
environment.
However, in addition to improving the message, should we retry to read
the rest of the data in the case reading too few bytes?
What about a limited number of retries instead of a complete loop?
---
Haruka Takatsuka / SRA OSS, Inc. Japan
On Fri, 27 Sep 2019 11:52:39 -0400
Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> On Tue, Sep 3, 2019 at 08:38:22AM +0200, Peter Eisentraut wrote:
> > On 2019-08-27 08:27, Michael Paquier wrote:
> > > Thanks for the new patch, and you are right that pg_checksums has been
> > > slacking here. There is the same issue with pg_verify_checksums in
> > > 11. Not sure that's worth a back-patch though. Those parts could
> > > find their way to v12 easily.
> >
> > Committed to master and PG12 with your suggested changes.
>
> This "Success" has happened so many times I think we should tell people
> to report any such error message as a bug by emitting a special error
> message line.
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + As you are, so once was I. As I am, so you will be. +
> + Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Kyotaro Horiguchi | 2019-11-21 01:44:30 | an OID >= 8000 in master |
Previous Message | Michael Paquier | 2019-11-21 01:33:22 | Re: Hypothetical indexes using BRIN broken since pg10 |