Re: BUG #17245: Index corruption involving deduplicated entries

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: "K(dot) R(dot)" <iijima(dot)yun(at)koumakan(dot)jp>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17245: Index corruption involving deduplicated entries
Date: 2021-10-24 22:28:40
Message-ID: CAH2-WzksOK6mrNrRmgPeyvZRJu-tuSZpjbfamjqR56MbUP61Dw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Oct 24, 2021 at 3:11 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> On Sun, Oct 24, 2021 at 2:35 PM K. R. <iijima(dot)yun(at)koumakan(dot)jp> wrote:
> > $ ./pg_amcheck -U postgres --heapallindexed --parent-check --rootdescend
> > azurlane_wiki
> > btree index "azurlane_wiki.mediawiki.page_redirect_namespace_len":
> > ERROR: posting list contains misplaced TID in index
> > "page_redirect_namespace_len"
> > DETAIL: Index tid=(14,9) posting list offset=110 page lsn=2/2C4F7CD8.
> > btree index "azurlane_wiki.mediawiki.page_len":
> > ERROR: posting list contains misplaced TID in index "page_len"
> > DETAIL: Index tid=(1,2) posting list offset=34 page lsn=2/2DDA2378.
> > btree index "azurlane_wiki.mediawiki.transcode_key_idx":
> > ERROR: posting list contains misplaced TID in index
> > "transcode_key_idx"
> > DETAIL: Index tid=(1,9) posting list offset=5 page lsn=2/2B53AED8.

Does it make any difference if you run "./pg_amcheck -U postgres
--heapallindexed azurlane_wiki" instead?

Typically I would expect this to be less interesting, because you're
asking pg_amcheck to do less checking. But this is not a typical case.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2021-10-24 23:35:02 Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data
Previous Message Peter Geoghegan 2021-10-24 22:11:38 Re: BUG #17245: Index corruption involving deduplicated entries