Open muhamadazmy opened 6 days ago
I'm removing my self from this review until it's ready. Please add me back as reviewer when you apply the changes we discussed offline.
Thank you @pcholakov for your review. I will process all your comments. Also don't be sorry over grammar nitpicking! that's my fav kind of nitpicking 😀
Initial cluster configuration
Summary:
Initial cluster configuration and handling
Configuration file
Introduce a new configuration
By setting this to "default" (that the the default value) the node seeds the cluster configuration with default config
Setting
cluster-configuration
to empty. Starts the node with empty cluster configuration. In that case, the node does not provision the partition table or the logs until the configuration is set explicitly viarestatectl cluster config set
Once configuration is set, the configuration of the cluster auto resumes. No extra actions are needed.
cluster config get/set
restatectl cluster config
gives users a simple interface to inspect and update configurationExample
To change the config, create a new toml file with following content cluster-config-example.toml
Then run
Stack created with Sapling. Best reviewed with ReviewStack.
2375
2374