Re: Suggestion to add --continue-client-on-abort option to pgbench

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Rintaro Ikeda <ikedarintarof(at)oss(dot)nttdata(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, "slpmcf(at)gmail(dot)com" <slpmcf(at)gmail(dot)com>, "boekewurm+postgres(at)gmail(dot)com" <boekewurm+postgres(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Subject: Re: Suggestion to add --continue-client-on-abort option to pgbench
Date: 2025-11-14 09:08:24
Message-ID: CAHGQGwH2kLAGgtzYokM2zuSRHiXB3wd92n1=SpdiLU1yPj+N6g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 14, 2025 at 4:50 PM Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp> wrote:
> I could not reproduce it with the latest REL_16_STABLE branch.
> Perhaps, the assertion failure you mentioned above was the one
> fixed by 1d3ded521?

Yeah, you're right! Thanks for catching that.

I've updated the commit message to explicitly mention the \syncpipeline command.
Patch attached.

Since the assertion failure can occur in versions that support \syncpipeline,
the fix doesn't need to be backpatched to v16 or older.

Regards,

--
Fujii Masao

Attachment Content-Type Size
v5-0001-pgbench-Fix-assertion-failure-with-multiple-syncp.patch application/octet-stream 3.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2025-11-14 09:12:44 Re: Rename sync_error_count to tbl_sync_error_count in subscription statistics
Previous Message Masahiko Sawada 2025-11-14 09:06:51 Re: Issue with logical replication slot during switchover