pgsql: Ensure no xid gaps during Hot Standby startup

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Ensure no xid gaps during Hot Standby startup
Дата
Msg-id E1Uqkht-0007TI-Pl@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Ensure no xid gaps during Hot Standby startup

In some cases with higher numbers of subtransactions
it was possible for us to incorrectly initialize
subtrans leading to complaints of missing pages.

Bug report by Sergey Konoplev
Analysis and fix by Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1f09121b4edee8b4d4cdd4ee0a8cffacee7b85f7

Modified Files
--------------
src/backend/access/transam/xlog.c   |    3 ++
src/backend/storage/ipc/procarray.c |   53 +++++++++++++++++++++++++++++++----
src/include/storage/procarray.h     |    1 +
3 files changed, 51 insertions(+), 6 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Ensure no xid gaps during Hot Standby startup
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Add a comment warning against use of pg_usleep() for long sleeps