pgsql: Add additional checks while creating the initial decoding snapsh

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Add additional checks while creating the initial decoding snapsh
Дата
Msg-id E1owxcC-000A5U-Px@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add additional checks while creating the initial decoding snapshot.

As per one of the CI reports, there is an assertion failure which
indicates that we were trying to use an unenforced xmin horizon for
decoding snapshots. Though, we couldn't figure out the reason for
assertion failure these checks would help us in finding the reason if the
problem happens again in the future.

Author: Amit Kapila based on suggestions by Andres Freund
Reviewd by: Andres Freund
Discussion: https://postgr.es/m/CAA4eK1L8wYcyTPxNzPGkhuO52WBGoOZbT0A73Le=ZUWYAYmdfw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/240e0dbacd390a8465552e27c5af11f67d747adb

Modified Files
--------------
src/backend/replication/logical/snapbuild.c | 29 ++++++++++++++++++-----------
src/backend/replication/walsender.c         |  5 +++++
2 files changed, 23 insertions(+), 11 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: lwlock: Fix quadratic behavior with very long wait lists
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Replace SQLValueFunction by COERCE_SQL_SYNTAX