Yoan Blanc
c3928fe360
fixup! vendor: explicit use of hashicorp/go-msgpack
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-31 09:48:07 -04:00
Yoan Blanc
887f23a351
vendor: explicit use of hashicorp/go-msgpack
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-31 09:45:21 -04:00
Nick Ethier
994c66f7d7
drivers: use consts for task handle version
2019-01-18 18:31:01 -05:00
Nick Ethier
07cdedec2f
driver: add pre09 migration logic
2019-01-18 18:31:01 -05:00
Michael Schurter
fc7be6b7f0
client/state: improve upgradeTaskBucket error handling
...
And add a test
2018-12-19 10:39:27 -08:00
Michael Schurter
11e923e508
client/state: add context to errors
...
Unfortunately I don't know how to test these errors. As far as I can
tell they should only happen if there was a programming error in the
upgrade code or the underlying boltdb was corrupted somehow.
2018-12-19 10:39:27 -08:00
Michael Schurter
cba472485b
client/state: use 2 as version; test error path
2018-12-19 10:39:27 -08:00
Michael Schurter
784706a1e5
client/state: support upgrading from 0.8->0.9
...
Also persist and load DeploymentStatus to avoid rechecking health after
client restarts.
2018-12-19 10:39:27 -08:00