fafa5188c2
Implement configstore maintenance mode and export/import. When configstore is set in maintenance mode it'll start only the maintenance and export/import handlers. Setting maintenance mode will set a key in etcd so all the configstore instances will detect it and enter in maintenance mode. This is done asyncronously so it could take some time (future improvements will add some api to show all the configstore states) Export is always available and will export the datamanager contents. Import is available only during maintenance, given a datamanager export will import it and reset etcd to this import state. |
||
---|---|---|
.. | ||
action | ||
api | ||
common | ||
readdb | ||
configstore.go | ||
configstore_test.go |