pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix a BF failure caused by commit 76b78721ca.
Date: Tue, 25 Nov 2025 09:00:19 +0000
Message-ID: <E1vNouI-001JF4-2Q@gemulon.postgresql.org> (raw)

Fix a BF failure caused by commit 76b78721ca.

The issue occurred because the replication slot was not released in the
slotsync worker when a slot synchronization cycle was skipped. This skip
happened because the required WAL was not received and flushed on the
standby server. As a result, in the next cycle, when attempting to acquire
the slot, an assertion failure was triggered.

Author: Hou Zhijie <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/CAA4eK1KMwYUYy=oAVHu9mam+vX50ixxfhO4_C=kgQC8VCQHEfw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3df4df53b06df2a2af56a77bf44cffa6393534fe

Modified Files
--------------
src/backend/replication/logical/slotsync.c | 4 ++++
1 file changed, 4 insertions(+)



Message-ID: <E1vNouI-001JF4-2Q@gemulon.postgresql.org>
Permalink:  ../E1vNouI-001JF4-2Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vNouI-001JF4-2Q@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix a BF failure caused by commit 76b78721ca.
  In-Reply-To: <E1vNouI-001JF4-2Q@gemulon.postgresql.org>

* 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