Re: Index corruption - Mailing list pgsql-hackers

From Chris Browne
Subject Re: Index corruption
Date
Msg-id 604py3wv6s.fsf@dba2.int.libertyrms.com
Whole thread Raw
In response to Index corruption  (Marc Munro <marc@bloodnok.com>)
Responses Re: Index corruption  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
marc@bloodnok.com (Marc Munro) writes:
> As you see, slony is attempting to enter one tuple
> ('374520943','22007','0') two times.
>
> Each previous time we have had this problem, rebuilding the indexes on
> slony log table (sl_log_1) has fixed the problem.  I have not reindexed
> the table this time as I do not want to destroy any usable evidence.

We have seen this phenomenon on 7.4.8 several times; pulled dumps of
sl_log_1 and index files that Jan Wieck looked at, which alas hasn't
led to a fix.

He did, mind you, find some concurrency pattern that led, if memory
serves, to 7.4.12's release.  We had experienced cases where there was
some worse corruption that required that we rebuild replicas from
scratch :-(.
-- 
output = reverse("gro.mca" "@" "enworbbc")
http://cbbrowne.com/info/advocacy.html
"There  is no  psychiatrist in  the world  like a  puppy  licking your
face."  -- Ben Williams


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Some questions to developers
Next
From: Tom Lane
Date:
Subject: Re: Index corruption