pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Parallel pg_dump's error reporting doesn't work worth squat
Date: Fri, 27 May 2016 13:20:20 -0400
Message-ID: <14603.1464369620@sss.pgh.pa.us> (raw)
In-Reply-To: <20160526.152559.266074794.horiguchi.kyotaro@lab.ntt.co.jp>
References: <20160525.173041.123092921.horiguchi.kyotaro@lab.ntt.co.jp>
	<24577.1464185488@sss.pgh.pa.us>
	<20160526.105701.64908801.horiguchi.kyotaro@lab.ntt.co.jp>
	<20160526.152559.266074794.horiguchi.kyotaro@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> writes:
> By the way, the reason of the "invalid snapshot identifier" is
> that some worker threads try to use it after the connection on
> the first worker closed.

... BTW, I don't quite see what the issue is there.  The snapshot is
exported from the master session, so errors in worker sessions should not
cause such failures in other workers.  And I don't see any such failure
when setting up a scenario that will cause a worker to fail on Linux.
The "invalid snapshot identifier" bleats would make sense if you had
gotten a server-side error (and transaction abort) in the master session,
but I don't see any evidence that that happened in that example.  Might be
worth seeing if that's reproducible.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (33+ messages)  latest in thread

Message-ID: <14603.1464369620@sss.pgh.pa.us>
Permalink:  ../14603.1464369620@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14603.1464369620@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, horiguchi.kyotaro@lab.ntt.co.jp
  Subject: Re: Parallel pg_dump's error reporting doesn't work worth squat
  In-Reply-To: <14603.1464369620@sss.pgh.pa.us>
  References: <20160525.173041.123092921.horiguchi.kyotaro@lab.ntt.co.jp> <24577.1464185488@sss.pgh.pa.us> <20160526.105701.64908801.horiguchi.kyotaro@lab.ntt.co.jp> <20160526.152559.266074794.horiguchi.kyotaro@lab.ntt.co.jp> <14603.1464369620@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