open-nomad/client/state
Mahmood Ali d740d347ce Migrate old alloc structs on read
This commit ensures that Alloc.AllocatedResources is properly populated
when read from persistence stores (namely Raft and client state store).
The alloc struct may have been written previously by an arbitrary old
version that may only populate Alloc.TaskResources.
2020-01-09 08:46:50 -05:00
..
testdata client/state: support upgrading from 0.8->0.9 2018-12-19 10:39:27 -08:00
08types.go client: fix bug during 0.8 state up grade that causes external drivers to fail 2019-01-30 14:22:29 -05:00
db_test.go test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
errdb.go linting fixes 2019-01-12 10:38:20 -06:00
interface.go client/state: support upgrading from 0.8->0.9 2018-12-19 10:39:27 -08:00
memdb.go client: test logmon cleanup 2019-03-04 13:15:15 -08:00
noopdb.go client/state: support upgrading from 0.8->0.9 2018-12-19 10:39:27 -08:00
state_database.go Migrate old alloc structs on read 2020-01-09 08:46:50 -05:00
upgrade.go drivers: use consts for task handle version 2019-01-18 18:31:01 -05:00
upgrade_int_test.go move reattach config 2019-01-22 15:11:58 -08:00
upgrade_test.go client/state: improve upgradeTaskBucket error handling 2018-12-19 10:39:27 -08:00