Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

Cluster Configuration #98

Open
4 tasks
benbjohnson opened this issue Aug 5, 2013 · 0 comments
Open
4 tasks

Cluster Configuration #98

benbjohnson opened this issue Aug 5, 2013 · 0 comments
Milestone

Comments

@benbjohnson
Copy link
Contributor

  • 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant