arthurprs / sucredb

Distributed KV database with causality tracking
MIT License
52 stars 5 forks source link

Use an id other than NodeId in vnode clocks #13

Closed arthurprs closed 6 years ago

arthurprs commented 6 years ago

Using the NodeId as the actor key in node clocks isn't always correct. Every vnode bootstrap/recovery must generate a unique actor id, otherwise the pairs (actor, version) are not guaranteed to be unique.

arthurprs commented 6 years ago

https://github.com/arthurprs/sucredb/commit/c148ad932343dd13af572d43e4b007fb526707fb