Commit e3a815d2 authored by Peter Eisentraut's avatar Peter Eisentraut

Improve handover logic between sync and apply workers

Make apply busy wait check the catalog instead of shmem state to ensure
that next transaction will see the expected table synchronization state.

Also make the handover always go through same set of steps to make the
overall process easier to understand and debug.

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Tested-by: default avatarMark Kirkwood <mark.kirkwood@catalyst.net.nz>
Tested-by: default avatarErik Rijkers <er@xs4all.nl>
parent 79c4fa0f
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment