mesosphere-backup / etcd-mesos

self-healing etcd on mesos!
Apache License 2.0
67 stars 19 forks source link

support manual cluster reseed #11

Closed spacejam closed 9 years ago

spacejam commented 9 years ago

situation:

  1. previous etcd-mesos cluster got into unrecoverable state
  2. operator performed manual backup of etcd server

Currently, there's no way to manually seed a new cluster except by manually traversing and duplicating keys in an etcd server. We need to support an operator supplying a restore argument that contains a compressed etcd storage directory which will be used to initialize a new cluster.

spacejam commented 9 years ago

executor logic: https://github.com/mesosphere/etcd-mesos/pull/18

scheduler endpoint for administration and interaction with a cluster TBD

spacejam commented 9 years ago

an operator can manually reseed by hitting the http://:/reseed endpoint on a node, and if it's healthy kill the others. this is done automatically in https://github.com/mesosphere/etcd-mesos/pull/23