pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #8984: ERROR:  t_xmin is uncommitted in tuple to be updated
3+ messages / 2 participants
[nested] [flat]

* BUG #8984: ERROR:  t_xmin is uncommitted in tuple to be updated
@ 2014-01-26 23:02  marko@joh.to
  0 siblings, 1 reply; 3+ messages in thread

From: marko@joh.to @ 2014-01-26 23:02 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      8984
Logged by:          Marko Tiikkaja
Email address:      marko@joh.to
PostgreSQL version: 9.1.11
Operating system:   64-bit Ubuntu
Description:        

Hi,

I just noticed we've had the error in subject happen around ten times,
starting from Thursday.  I don't see it having happened before that.  IIRC
that day we also switched to another synchronous slave.  The previous slave
had hot_standby_feedback=on, and the new one has it turned off.  Might just
be a coincidence.

All of the failing queries are inside PL/PgSQL functions, most of them are
SELECT .. FOR UPDATE or UPDATE against a table called "workers", but there
are a couple of instances against other tables as well.

Any ideas?  I'll be happy to provide more information, just let me know what
you need.


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #8984: ERROR:  t_xmin is uncommitted in tuple to be updated
@ 2014-01-29 11:25  Marko Tiikkaja <marko@joh.to>
  parent: marko@joh.to
  0 siblings, 1 reply; 3+ messages in thread

From: Marko Tiikkaja @ 2014-01-29 11:25 UTC (permalink / raw)
  To: pgsql-bugs

Hi,

It looks like this could happen if the xmin of the tuple happens to be 
the reported xid of a standby with hot_standby_feedback, no?  But I 
would expect this problem to happen more frequently if that's true..


Regards,
Marko Tiikkaja


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #8984: ERROR:  t_xmin is uncommitted in tuple to be updated
@ 2014-01-29 22:20  Marko Tiikkaja <marko@joh.to>
  parent: Marko Tiikkaja <marko@joh.to>
  0 siblings, 0 replies; 3+ messages in thread

From: Marko Tiikkaja @ 2014-01-29 22:20 UTC (permalink / raw)
  To: pgsql-bugs

On 1/29/14, 12:25 PM, I wrote:
> It looks like this could happen if the xmin of the tuple happens to be
> the reported xid of a standby with hot_standby_feedback, no?

My bad, hot_standby_feedback sets xmin, but TransactionIdIsInProgress() 
only looks at xid.  So that theory is obviously bogus.


Regards,
Marko Tiikkaja


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-01-29 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-26 23:02 BUG #8984: ERROR:  t_xmin is uncommitted in tuple to be updated marko@joh.to
2014-01-29 11:25 ` Marko Tiikkaja <marko@joh.to>
2014-01-29 22:20   ` Marko Tiikkaja <marko@joh.to>

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