superfly / corrosion

Gossip-based service discovery (and more) for large distributed systems.
https://superfly.github.io/corrosion/
Apache License 2.0
624 stars 19 forks source link

Send empties during sync based on previous timestamp #220

Open somtochiama opened 2 weeks ago

somtochiama commented 2 weeks ago

This pull requests updates the sync process between nodes to also send previously cleared versions that the client node might have already received. Each time a node stores an empty version, it also stores a timestamp and can use this to know which versions have been cleared or updated since the last sync.