Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id A49B1D84656 for ; Fri, 8 Jun 2012 07:42:16 -0300 (ADT) Received: from moutng.kundenserver.de ([212.227.126.171]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Scwdz-0005EA-LG for pgsql-bugs@postgresql.org; Fri, 08 Jun 2012 10:42:16 +0000 Received: from awork2.localnet (p5DDC789C.dip.t-dialin.net [93.220.120.156]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0M3B8p-1RnJKI3Z1L-00sxTl; Fri, 08 Jun 2012 12:42:02 +0200 From: Andres Freund Organization: 2ndquadrant.com To: pgsql-bugs@postgresql.org Subject: Re: BUG #6661: out-of-order XID insertion in KnownAssignedXids Date: Fri, 8 Jun 2012 12:42:00 +0200 User-Agent: KMail/1.13.7 (Linux/3.4.0-andres; KDE/4.7.4; x86_64; ; ) Cc: Valentine Gogichashvili , Simon Riggs References: <201206071849.42655.andres@2ndquadrant.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201206081242.00890.andres@2ndquadrant.com> X-Provags-ID: V02:K0:IjAZiIotQVqR1jzb/Tx6zmIRJvdS2QuTdPmiNsz8cI3 EmSxg7wnlAOzzzykHDuwltGt5B8TxNZTdwzAF8cAGm31O9RFly ikPz4FGbzoQQWvYgO5r6/Sas6hdIQoZf3cxDTE2sYtp8tnKXHT LoSvTHiLWU4dkJzXpuu+MPZES++dRjXm+NckTHF64RDZ6jI0iO g9AFjdVzAodfaTH/oASbphZuiaUYmq9VkzQh4ZYlqY2icFy1at yv+rxKcHzK5VmIV4y6amox2VnZ2S1C6Ta2S+XCGtltIBN0UsdC F29BMFF6nLsLjnhAMjcioagGww4Jiy3z2/bg/x+eYZi1Qp0ekK 8ELX+a/aa6Dm415AMM+N36nGkDGq7e6ZZX9hdn4B14rgMjfKGF bcnyEH4HbtvOQ== X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/59 X-Sequence-Number: 33286 Hi Valentine, On Friday, June 08, 2012 12:25:25 PM Valentine Gogichashvili wrote: > unfortunately I did not manage to keep the snapshot of the database, that > had this issue. Too bad. Let me try if I can reproduce it manually. > Can that be, that this issue only happens when the recovering from the WAL > files and not over the steaming replication? > On other standbys, having no WAL delay, we did not see this problem yet. No, the delivery method is not relevant. The relevant part is when the standby was started. A bit tricky to hit the right spot ;) > Would it be possible to somehow generate a workload, that would lead to > this a problem? I think I can do that. Let me play for a bit. Andres