Re: BUG #18369: logical decoding core on AssertTXNLsnOrder()

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, ocean_li_996 <ocean_li_996(at)163(dot)com>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Subject: Re: BUG #18369: logical decoding core on AssertTXNLsnOrder()
Date: 2024-03-05 04:00:00
Message-ID: dc16d352-0688-6333-242c-bcba394fd65d@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello Kuroda-san,

04.03.2024 15:52, Hayato Kuroda (Fujitsu) wrote:
>
> Dear Alexander,
>
> I also ran your script after applying patches on REL_14_STABLE, but I got another failure.
>
> I have not analyzed yet so I share the result as-is.
>
> Was I missing something?
>
>
> ```
>
> #0 0x00007f4f033de387 in raise () from /lib64/libc.so.6
>
> #1 0x00007f4f033dfa78 in abort () from /lib64/libc.so.6
>
> #2 0x0000000000b08152 in ExceptionalCondition (conditionName=0xcc8228 "prev_first_lsn < cur_txn->first_lsn",
>
>     errorType=0xcc8024 "FailedAssertion", fileName=0xcc8070 "reorderbuffer.c", lineNumber=916) at assert.c:69
>
> #3 0x00000000008e01ad in AssertTXNLsnOrder (rb=0x19a95c0) at reorderbuffer.c:916
>
> #4 0x00000000008dfae8 in ReorderBufferTXNByXid (rb=0x19a95c0, xid=1753, create=true, is_new=0x0, lsn=37430336,
>
>     create_as_top=true) at reorderbuffer.c:669
>
>

Yes, you're right. That script produces another failure as I mentioned
upthread, but still in AssertTXNLsnOrder().
I had thought that the fix should cover that case too, but then I found out
that the defect in question is rather new, so maybe the more focused fix is
really preferable.

Best regards,
Alexander

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Davis 2024-03-05 04:12:28 Query stuck with wait event IPC / ParallelFinish
Previous Message Michael Paquier 2024-03-05 03:44:43 Re: BUG #18314: PARALLEL UNSAFE function does not prevent parallel index build