vmware-archive / haret

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

Establish a way to deal with namespace collision on creation #74

Open andrewjstone opened 7 years ago

andrewjstone commented 7 years ago

Namespace creation is not a cluster wide synchronous process. A namespace is created by an admin user at a given node. This initial namespace configuration is then gossiped across nodes.

This means 2 bad things are possible:

We can prevent both of these by creating a system provided root namespace to allow consistent namespace creation.

andrewjstone commented 7 years ago

Since we are going to likely use a root namespace to allow consistent deletion of namespaces we may as well add this to the diskless 1.0 milestone as well. It's not hard to implement.