pgsql: Fix a BF failure caused by commit 76b78721ca.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix a BF failure caused by commit 76b78721ca.
Date: 2025-11-25 09:00:19
Message-ID: E1vNouI-001JF4-2Q@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)fnst(at)fujitsu(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2025-11-25 11:58:20 Re: pgsql: Add slotsync skip statistics.
Previous Message Amit Kapila 2025-11-25 07:36:54 pgsql: Add slotsync skip statistics.