Re: BUG #15744: Replication slot peak query throwing error for wrong sequence entry for toast chunk

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: nitesh(at)datacoral(dot)co, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15744: Replication slot peak query throwing error for wrong sequence entry for toast chunk
Date: 2019-04-10 08:28:55
Message-ID: 3bd6953d-3da6-040c-62bf-9522808d5c2f@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2019-04-09 22:09, PG Bug reporting form wrote:
> PostgreSQL version: 9.6.3

This is very old. 9.6.12 is current.

> Behavior reported (Bug)
> We have a replication slot running for successfully but recently we
> encountered following error:
>
> error: got sequence entry 2 for toast chunk 30954054 instead of seq 0

> Temporary resolution
> After running the query 2-3 times, the error went away. But this causes
> the whole process to shut down.
>
> Is there any permanent resolution for the issue or is it resolved in the
> higher version of postgres?

I've not seen this particular error, but there are a number of fixes
related to possible TOAST corruption, so this might be related to that.
Upgrading would certainly be the first step before investigating further.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2019-04-10 15:01:21 Re: BUG #15734: Walsender process crashing when executing SHOW ALL;
Previous Message Michael Paquier 2019-04-10 06:04:27 Re: BUG #15734: Walsender process crashing when executing SHOW ALL;