Re: 8.4.0 data loss / HOT-related bug - Mailing list pgsql-bugs

From Radoslaw Zielinski
Subject Re: 8.4.0 data loss / HOT-related bug
Date
Msg-id 20090821163830.GA2645@bzium
Whole thread Raw
In response to Re: 8.4.0 data loss / HOT-related bug  (Greg Stark <gsstark@mit.edu>)
Responses Re: 8.4.0 data loss / HOT-related bug
List pgsql-bugs
Greg Stark <gsstark@mit.edu> [2009-08-21 18:03]:
> On Fri, Aug 21, 2009 at 4:04 PM, Radoslaw Zielinski<radek@pld-linux.org> =
wrote:
>> This particular row currently has last_modified=3D"2009-08-11", but tabl=
e_log
>> says it has been updated on "2009-08-12" -- so, data loss.

> These are all very low transaction ids. you say it was a week of
> production before this happened?

Upgraded around:
  $ rpm -q postgresql --qf '%{INSTALLTIME}' | xargs perl -le 'print~~localt=
ime shift'
  Fri Aug  7 10:06:44 2009

The first mention of the error in the app's output:
  [info] *** Request 5532 (0.008/s) [7283] [Wed Aug 19 13:06:35 2009] ***

User has reported "disappearing rows" at 12 Aug 2009, 16:58.

> How did you migrate your data? Was it a normal pg_dump restore? Or did
> you do anything funny with slony or pg_migrate?

Plain regular dump/restore (from text dump).  There's no slony or
anything on this database except for table_log and the trigger to update
last_modified.

In case it might be relevant: locale C, encoding utf8.

--=20
Rados=C5=82aw Zieli=C5=84ski <radek@pld-linux.org>

pgsql-bugs by date:

Previous
From: Greg Stark
Date:
Subject: Re: 8.4.0 data loss / HOT-related bug
Next
From: Radoslaw Zielinski
Date:
Subject: Re: 8.4.0 data loss / HOT-related bug