On 22 Sep 2026, Nikolay Samokhvalov wrote: > The attached patch stops the sequencesync worker in the removal loop,
I reviewed the worker stop/start interlock and reproduced the failure on master. Your test disables the subscription without the fix and passes with it. I also tested REFRESH PUBLICATION removing just one of two sequences while the worker was blocked on the publisher. The remaining sequence reached READY, the unsubscribed local sequence kept its old value, and table replication continued with disable_on_error = true. There were no sequence synchronization errors. The patch looks good. Thank you! Best regards, Andrey Borodin.
