agola/internal/services/configstore
Simone Gotti fafa5188c2 configstore: maintenance/export/import
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.
2019-07-26 10:55:04 +02:00
..
action configstore: maintenance/export/import 2019-07-26 10:55:04 +02:00
api configstore: maintenance/export/import 2019-07-26 10:55:04 +02:00
common configstore: maintenance/export/import 2019-07-26 10:55:04 +02:00
readdb readdb: close and open readdb on Run 2019-07-25 17:59:54 +02:00
configstore_test.go configstore: maintenance/export/import 2019-07-26 10:55:04 +02:00
configstore.go configstore: maintenance/export/import 2019-07-26 10:55:04 +02:00