From: | Ulrich Wisser <ulrich(dot)wisser(at)relevanttraffic(dot)se> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: vacuum error "left link changed unexpectedly" |
Date: | 2005-08-12 14:56:21 |
Message-ID: | 42FCB895.8090101@relevanttraffic.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello Tom,
thanks for your fast answer. And yes it is reproducible. It started
during my vacation (of course!!!) and I get the message ever since
(approx. 6 weeks, vacuum daily).
We use
Fedora Linux Core 2
PostgreSQL 7.4.2
I'll try to get the information you asked for over the weekend.
Ulrich
> Ulrich Wisser <ulrich(dot)wisser(at)relevanttraffic(dot)se> writes:
>
>>vacuumdb: vacuuming of database "CLIX2" failed: ERROR: left link
>>changed unexpectedly
>
>
> Hm, is this repeatable? When I wrote the code I thought it was
> a can't-happen case, which is why the error message is so terse
> (it was only pure paranoia that made me put in the check at all).
> I suppose it must indicate a corrupted index, but I'm not clear
> on exactly what the nature of the corruption is.
>
> You might proceed by fixing the error message to be a little more
> helpful, say
>
> if (opaque->btpo_prev != leftsib)
> elog(ERROR, "left link changed unexpectedly in block %u of index %s",
> target, RelationGetRelationName(rel));
>
> (this is in src/backend/access/nbtree/nbtpage.c, about line 863 in
> current sources). Once you know which index has the problem,
> I would like to see the output of pg_filedump on that index.
> After you've got the dump, a REINDEX should fix it.
>
> BTW, which Postgres version is this exactly?
>
> regards, tom lane
--
Ulrich Wisser / System Developer
RELEVANT TRAFFIC SWEDEN AB, Riddarg 17A, SE-114 57 Sthlm, Sweden
Direct (+46)86789755 || Cell (+46)704467893 || Fax (+46)86789769
________________________________________________________________
http://www.relevanttraffic.com
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Sydney-Smith | 2005-08-12 15:36:01 | Conversion of Database to schema aware |
Previous Message | Tom Lane | 2005-08-12 14:50:37 | Re: Upgrading 7.3.9 -> 7.4.8 - trouble with blobs |