pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: doc: Add note about promotion waits on backends stuck sending to 2+ messages / 1 participants [nested] [flat]
* pgsql: doc: Add note about promotion waits on backends stuck sending to @ 2026-10-27 18:14 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Masahiko Sawada @ 2026-10-27 18:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org doc: Add note about promotion waits on backends stuck sending to clients. Commit df1be4ddc83 made promotion skip waiting for the barrier that refreshes each process's cached logical WAL logging state in some cases, but promotion still waits for it on a standby with wal_level = replica that has a valid logical slot. A backend blocked sending data to a client that has stopped reading can't process the barrier, so promotion can wait for a long time. Add a note about this case in the failover section, along with ways to get out of the wait and to bound it in advance. Backpatch to v19, where commit 67c20979ce7 introduced this wait. Author: shihao zhong <zhong950419@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Reviewed-by: shveta malik <shveta.malik@gmail.com> Reviewed-by: Zhijie Hou <houzhijie22@gmail.com> Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com> Discussion: https://postgr.es/m/CAGRkXqToBk9c2sPAgha-kCgxJhVwn90j1sCyUXrvydq51LKAqA@mail.gmail.com Backpatch-through: 19 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b936425002c54abab86dab151efdbb6952314388 Modified Files -------------- doc/src/sgml/high-availability.sgml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: doc: Add note about promotion waits on backends stuck sending to @ 2026-10-27 18:14 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Masahiko Sawada @ 2026-10-27 18:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org doc: Add note about promotion waits on backends stuck sending to clients. Commit df1be4ddc83 made promotion skip waiting for the barrier that refreshes each process's cached logical WAL logging state in some cases, but promotion still waits for it on a standby with wal_level = replica that has a valid logical slot. A backend blocked sending data to a client that has stopped reading can't process the barrier, so promotion can wait for a long time. Add a note about this case in the failover section, along with ways to get out of the wait and to bound it in advance. Backpatch to v19, where commit 67c20979ce7 introduced this wait. Author: shihao zhong <zhong950419@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Reviewed-by: shveta malik <shveta.malik@gmail.com> Reviewed-by: Zhijie Hou <houzhijie22@gmail.com> Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com> Discussion: https://postgr.es/m/CAGRkXqToBk9c2sPAgha-kCgxJhVwn90j1sCyUXrvydq51LKAqA@mail.gmail.com Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f0d493168436eddbf24024437ddec253ca774e86 Modified Files -------------- doc/src/sgml/high-availability.sgml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-10-27 18:14 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-27 18:14 pgsql: doc: Add note about promotion waits on backends stuck sending to Masahiko Sawada <msawada@postgresql.org> 2026-10-27 18:14 pgsql: doc: Add note about promotion waits on backends stuck sending to Masahiko Sawada <msawada@postgresql.org>
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