pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Spencer Thomason <spencer@whiteskycommunications.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14295: Hot standby crash during tsvector rebuild
Date: Thu, 1 Sep 2016 14:22:33 +0000
Message-ID: <E3ED4BBA-3F20-4624-AE01-F754954EBDB3@whiteskycommunications.com> (raw)
In-Reply-To: <6FA6FDE7-5C60-4AB6-909D-7AB8039AEAD2@whiteskycommunications.com>
References: <20160826072658.15676.7628@wrigleys.postgresql.org>
	<21830.1472209531@sss.pgh.pa.us>
	<6FA6FDE7-5C60-4AB6-909D-7AB8039AEAD2@whiteskycommunications.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi Tom,
I have a python script which simulates our production environment and so far I have been able to replicate the failure on demand.  What is the best way to make this available?

Also, I can make this sandbox environment available for remote access if that would help.

Thanks!
Spencer


> On Aug 29, 2016, at 10:32 AM, Spencer Thomason <spencer@whiteskycommunications.com> wrote:
> 
> Hi Tom,
> I'm working on labbing this up and hopefully I can replicate it outside of our production environment.
> 
> We have a text column that contains fair amount of text (e.g. generated from a fax of maybe 10-25 pages) and then a tsvector column of that text with a gin index.  To improve performance, we delete text on the old records nightly.
> 
> This appears to be related to number of records updated and the size of the update to the tsvector column.  Hopefully I can provide more details and a test case soon.
> 
> Thanks,
> Spencer
> 
> 
> 
>> On Aug 26, 2016, at 4:05 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 
>> spencer@whiteskycommunications.com writes:
>>> Logs from one of the replicas is below:
>>> 2016-08-26 06:01:50 UTC FATAL:  unexpected GIN leaf action: 0
>>> 2016-08-26 06:01:50 UTC CONTEXT:  xlog redo Insert item, node:
>>> 1663/16387/33108 blkno: 6622 isdata: T isleaf: T 3 segments: 2 (add 0 items)
>>> 0 unknown action 0 ???
>> 
>> Hmm, we have seen a couple of reports of that recently but have not been
>> able to track it down.  Can you provide more details about what you're
>> doing that triggers it?  Maybe even a self-contained test case?  It
>> doesn't have to be one that fails every time, as long as it'll fail
>> occasionally.
>> 
>> 			regards, tom lane
> 



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



view thread (11+ messages)  latest in thread

Message-ID: <E3ED4BBA-3F20-4624-AE01-F754954EBDB3@whiteskycommunications.com>
Permalink:  ../E3ED4BBA-3F20-4624-AE01-F754954EBDB3@whiteskycommunications.com/
Also on:    postgresql.org/message-id/E3ED4BBA-3F20-4624-AE01-F754954EBDB3@whiteskycommunications.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-bugs@postgresql.org
  Cc: spencer@whiteskycommunications.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #14295: Hot standby crash during tsvector rebuild
  In-Reply-To: <E3ED4BBA-3F20-4624-AE01-F754954EBDB3@whiteskycommunications.com>
  References: <20160826072658.15676.7628@wrigleys.postgresql.org> <21830.1472209531@sss.pgh.pa.us> <6FA6FDE7-5C60-4AB6-909D-7AB8039AEAD2@whiteskycommunications.com> <E3ED4BBA-3F20-4624-AE01-F754954EBDB3@whiteskycommunications.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