Re: Postgres abort found in 9.3.11 - Mailing list pgsql-hackers

From K S, Sandhya (Nokia - IN/Bangalore)
Subject Re: Postgres abort found in 9.3.11
Date
Msg-id HE1PR07MB15450D74A57015761114B5E1D6B50@HE1PR07MB1545.eurprd07.prod.outlook.com
Whole thread Raw
In response to Re: Postgres abort found in 9.3.11  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Postgres abort found in 9.3.11
List pgsql-hackers
Hello,

As suggested by you, we upgraded the postgres to version 9.3.14. Also we removed all the patches we had applied before.
Butthe issue is still observed in the latest version as well. 

The issue is seen during normal run and only observed in the standby node.

This time as well, the same error log is observed.
node-1 postgres[8743]: [18-1] PANIC:  btree_xlog_delete_get_latestRemovedXid: cannot operate with inconsistent data

Can you please share your inputs which would help us proceed further?

Regards,
Sandhya
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, September 16, 2016 1:29 AM
To: K S, Sandhya (Nokia - IN/Bangalore) <sandhya.k_s@nokia.com>
Cc: pgsql-hackers@postgresql.org; Itnal, Prakash (Nokia - IN/Bangalore) <prakash.itnal@nokia.com>
Subject: Re: [HACKERS] Postgres abort found in 9.3.11

"K S, Sandhya (Nokia - IN/Bangalore)" <sandhya.k_s@nokia.com> writes:
> We tried to replicate the scenario without our patch(exiting postmaster) and still we were able to see the issue.

> Same error was seen this time as well.
> node-0 postgres[8243]: [1-2] HINT:  Is another postmaster already running on port 5433? If not, wait a few seconds
andretry.   
> node-1 postgres[8650]: [18-1] PANIC:  btree_xlog_delete_get_latestRemovedXid: cannot operate with inconsistent data

> Crash was not seen in 9.3.9 without the patch but it was reproduced in 9.3.11.
> So something specifically changed between 9.3.9 and 9.3.11 is causing the issue.

Well, I looked through the git history from 9.3.9 to 9.3.11 and I don't
see anything that seems likely to explain a problem here.

If you can reproduce this, which it sounds like you can, maybe you could
create a self-contained test case for other people to try?

Also worth noting is that the current 9.3.x release is 9.3.14.  You
might save yourself some time by updating and seeing if it still
reproduces in 9.3.14.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: patch: function xmltable
Next
From: Robert Haas
Date:
Subject: Re: [RFC] Should we fix postmaster to avoid slow shutdown?