disqus / pgshovel

A change data capture system for PostgreSQL
Apache License 2.0
11 stars 3 forks source link

Ensure only one replication process for a target is running at a given time. #3

Open tkaemming opened 9 years ago

tkaemming commented 9 years ago

This is the same idea as #1, but for replication processes.

If using the consumer subscription model from #2, this can be implemented as a ZooKeeper lock that is a child of the consumer znode, e.g. /cluster/set/consumer/lock.