Re: nbtree: assertion failure in _bt_killitems() for posting tuple - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: nbtree: assertion failure in _bt_killitems() for posting tuple
Date
Msg-id CAH2-WzkwOSvrvBgQs0n-AZ69j86ANxr3VB=cHa3yhVxDx92eYg@mail.gmail.com
Whole thread Raw
In response to nbtree: assertion failure in _bt_killitems() for posting tuple  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
List pgsql-hackers
On Thu, Mar 19, 2020 at 9:34 AM Anastasia Lubennikova
<a.lubennikova@postgrespro.ru> wrote:
> Unfortunately I cannot attach test and core dump, since they rely on the
> enterprise multimaster extension code.
> Here are some details from the core dump, that I find essential:
>
> Stack is
> _bt_killitems
> _bt_release_current_position
> _bt_release_scan_state
> btrescan
> index_rescan
> RelationFindReplTupleByIndex
>
> (gdb) p offnum
> $3 = 125
> (gdb) p *item
> $4 = {ip_blkid = {bi_hi = 0, bi_lo = 2}, ip_posid = 200}
> (gdb) p *kitem
> $5 = {heapTid = {ip_blkid = {bi_hi = 0, bi_lo = 2}, ip_posid = 200},
> indexOffset = 121, tupleOffset = 32639}
>
>
> Unless I miss something, this assertion must be removed.

Is this index an unlogged index, under the hood?

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Missing errcode() in ereport
Next
From: James Coleman
Date:
Subject: Re: improve transparency of bitmap-only heap scans