vmware-archive / haret

A strongly consistent distributed coordination system, built using proven protocols & implemented in Rust.
461 stars 18 forks source link

get rid of sessions, implement ClientIDs #49

Open justinsheehy opened 7 years ago

justinsheehy commented 7 years ago

Remove the "session" concept from v2r2 and implement the ClientID concept as documented in the docs/ClientIDs.md document.

This not only more closely matches the VRR paper, it also should be cleaner and more understandable.

andrewjstone commented 7 years ago

This almost certainly needs to be implemented before real clients attempt to use the system. Otherwise client behavior will have to change with regard to idempotent retries (i.e. they won't have them if this isn't implemented.) Therefore I'm adding it to the diskless-log-kv milestone.