Cluster Configuration
benbjohnson opened this issue · 0 comments
benbjohnson commented
- Change cluster configuration file to use JSON:
{"peers":[...]}
. - Atomically read config file using
ioutil.ReadFile()
. - Atomically write config file using
ioutil.WriteFile()
. - Write config file to temporary location and then swap using
os.Rename()
.
/cc: @xiangli-cmu