pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Toomas Kristin <toomas.kristin@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Conflict with recovery on PG version 11.6
Date: Fri, 19 Jun 2020 11:46:53 +0300
Message-ID: <ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com> (raw)
In-Reply-To: <20200619.151301.1212338526785241016.horikyota.ntt@gmail.com>
References: <918BFA04-B89D-4F29-9868-0A113AD72F52@gmail.com>
	<2d05bf2ad62fc71a5df3d9ba4e75fa300e3e020c.camel@cybertec.at>
	<F9F549BB-4EB9-4674-B7DF-B7A76229DE4C@gmail.com>
	<20200619.151301.1212338526785241016.horikyota.ntt@gmail.com>

Hi,

Thank you all for help. 

> FWIW in case you haven't tried yet, if you could find a DETAILS: line
> following to the ERROR: canceling.." message in server log, it would
> narrow the possibility.


I executed a database dump with 4 jobs and here are logs how this ended.

2020-06-19 02:38:28 UTC:[30953]:ERROR:40001:canceling statement due to conflict with recovery
2020-06-19 02:38:28 UTC:[30953]:DETAIL:User query might have needed to see row versions that must be removed.
2020-06-19 02:38:28 UTC:[30953]:LOCATION:ProcessInterrupts, postgres.c:3057
2020-06-19 02:38:28 UTC:[30953]:STATEMENT:
2020-06-19 02:38:28 UTC:[30926]:FATAL:40001:terminating connection due to conflict with recovery
2020-06-19 02:38:28 UTC:[30926]:DETAIL:User query might have needed to see row versions that must be removed.
2020-06-19 02:38:28 UTC:[30926]:HINT:In a moment you should be able to reconnect to the database and repeat your command.
2020-06-19 02:38:28 UTC:[30926]:LOCATION:ProcessInterrupts, postgres.c:2987
2020-06-19 02:38:28 UTC:[30952]:ERROR:40001:canceling statement due to conflict with recovery
2020-06-19 02:38:28 UTC:[30952]:DETAIL:User query might have needed to see row versions that must be removed.
2020-06-19 02:38:28 UTC:[30952]:LOCATION:ProcessInterrupts, postgres.c:3057
2020-06-19 02:38:28 UTC:[30952]:STATEMENT:
2020-06-19 02:38:28 UTC:[30953]:LOG:08006:could not receive data from client:Connection reset by peer
2020-06-19 02:38:28 UTC:[30953]:LOCATION:pq_recvbuf, pqcomm.c:978

Does it give any hints for anyone? Or how to find right version of source code what to analyse?

BR,
Toomas






view thread (12+ messages)  latest in thread

Message-ID: <ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com>
Permalink:  ../ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com/
Also on:    postgresql.org/message-id/ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com

 · 

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 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-general@postgresql.org
  Cc: toomas.kristin@gmail.com, horikyota.ntt@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: Conflict with recovery on PG version 11.6
  In-Reply-To: <ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com>
  References: <918BFA04-B89D-4F29-9868-0A113AD72F52@gmail.com> <2d05bf2ad62fc71a5df3d9ba4e75fa300e3e020c.camel@cybertec.at> <F9F549BB-4EB9-4674-B7DF-B7A76229DE4C@gmail.com> <20200619.151301.1212338526785241016.horikyota.ntt@gmail.com> <ED975043-6B45-4E9E-AC32-683BCDFC9BE0@gmail.com>

* 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