dinowernli / concord

A distributed key-value store in Rust
Apache License 2.0
4 stars 0 forks source link

Replace the main commit loop with a loop that puts values into the keyvalue service #16

Closed dinowernli closed 3 years ago

dinowernli commented 3 years ago

Now main.rs no longer pokes into the internal details of the Raft cluster. Instead, it commits values by interacting with the keyvalue service, which in turn commits values to the underlying Raft cluster.

This also allows us to clean up a whole bunch of leaky exports.