Yoan Blanc
225c9c1215
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
761d014071
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
e3c6f89b9a
drivers: use consts for task handle version
2019-01-18 18:31:01 -05:00
Nick Ethier
05bd369d1f
driver: add pre09 migration logic
2019-01-18 18:31:01 -05:00
Michael Schurter
337d07fdd8
client/state: improve upgradeTaskBucket error handling
...
And add a test
2018-12-19 10:39:27 -08:00
Michael Schurter
c5ddcb6a15
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
99bd5b3422
client/state: use 2 as version; test error path
2018-12-19 10:39:27 -08:00
Michael Schurter
d9ea8252a7
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