pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
To: ocean_li_996 <ocean_li_996@163.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Subject: Re: BUG #18369: logical decoding core on AssertTXNLsnOrder()
Date: Tue, 5 Mar 2024 07:00:00 +0300
Message-ID: <dc16d352-0688-6333-242c-bcba394fd65d@gmail.com> (raw)
In-Reply-To: <TYCPR01MB12077573479C5A2471BDE8065F5232@TYCPR01MB12077.jpnprd01.prod.outlook.com>
References: <18369-ad61699bf91c5bc0@postgresql.org>
	<6d0e80d6.c1fc.18deeb8120a.Coremail.ocean_li_996@163.com>
	<3d696d51.cfa6.18deeccd483.Coremail.ocean_li_996@163.com>
	<c79e5171-cce8-9bd7-9578-5b3a440361f9@gmail.com>
	<3900f282.3f49.18df2ae796a.Coremail.ocean_li_996@163.com>
	<e8236368-6b2b-6b76-a0c1-a064523a8f2c@gmail.com>
	<TYCPR01MB12077573479C5A2471BDE8065F5232@TYCPR01MB12077.jpnprd01.prod.outlook.com>

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

view thread (32+ messages)  latest in thread

Message-ID: <dc16d352-0688-6333-242c-bcba394fd65d@gmail.com>
Permalink:  ../dc16d352-0688-6333-242c-bcba394fd65d@gmail.com/
Also on:    postgresql.org/message-id/dc16d352-0688-6333-242c-bcba394fd65d@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: exclusion@gmail.com, kuroda.hayato@fujitsu.com, ocean_li_996@163.com, pgsql-bugs@lists.postgresql.org, amit.kapila16@gmail.com
  Subject: Re: BUG #18369: logical decoding core on AssertTXNLsnOrder()
  In-Reply-To: <dc16d352-0688-6333-242c-bcba394fd65d@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox