Обсуждение: [COMMITTERS] pgsql: Make tablesync worker exit when apply dies while it waswaiting

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Make tablesync worker exit when apply dies while it waswaiting

От
Peter Eisentraut
Дата:
Make tablesync worker exit when apply dies while it was waiting for it

This avoids "orphaned" sync workers.

This was caused by a thinko in wait_for_sync_status_change.

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Reported-by: Masahiko Sawada <sawada.mshk@gmail.com>

Branch
------
master

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

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)