open-nomad/nomad/state
Tim Gross 52e805a6a6
csi: ensure Read/WriteAllocs aren't released early (#7841)
We should only remove the `ReadAllocs`/`WriteAllocs` values for a
volume after the claim has entered the "ready to free"
state. The volume will eventually be released as expected. But
querying the volume API will show the volume is released before the
controller unpublish has finished and this can cause a race with
starting new jobs.

Test updates are to cover cases where we're dropping claims but not
running through the whole reaping process.
2020-04-30 17:11:31 -04:00
..
autopilot.go goimports 2019-01-22 15:44:31 -08:00
autopilot_test.go implement MinQuorum 2020-02-16 16:04:59 -06:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
schema.go scaling api: more testing around the scaling events api 2020-04-01 16:39:23 +00:00
schema_test.go nomad: ensure a unique ClusterID exists when leader (gh-6702) 2020-01-31 19:03:26 -06:00
state_store.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
state_store_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
state_store_test.go csi: ensure Read/WriteAllocs aren't released early (#7841) 2020-04-30 17:11:31 -04:00
testing.go csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
testing_oss.go goimports 2019-01-22 15:44:31 -08:00