open-nomad/nomad/structs
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
..
config update audit examples to an endpoint that is audited 2020-03-30 10:03:11 -04:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
csi.go csi: ensure Read/WriteAllocs aren't released early (#7841) 2020-04-30 17:11:31 -04:00
csi_test.go csi: ensure Read/WriteAllocs aren't released early (#7841) 2020-04-30 17:11:31 -04:00
devices.go Initial implementation of device preemption 2018-11-15 11:09:26 -06:00
devices_test.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
diff.go guard against nil maps 2020-04-06 12:25:50 -04:00
diff_test.go test added and removed 2020-04-06 11:53:46 -04:00
errors.go csi: server-side plugin state tracking and api (#6966) 2020-03-23 13:58:29 -04:00
errors_test.go api: acl bootstrap errors aren't 500 2019-11-19 15:51:57 -05:00
funcs.go scaling: ensure min and max int64s are in toplevel of block. 2020-03-24 13:57:15 +00:00
funcs_test.go fix tests from introducing new struct fields 2019-07-31 01:03:16 -04:00
generate.sh structs: give codecgen import 2020-04-28 08:23:20 +02:00
network.go fix spelling errors (#6985) 2020-04-20 09:28:19 -04:00
network_test.go cli: display group ports and address in alloc status command output (#6189) 2019-08-27 23:59:36 -04:00
node.go csi: add Provider field to CSI CLIs and APIs (#7285) 2020-03-23 13:58:30 -04:00
node_class.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_class_test.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_test.go
operator.go Use lowercase for hcl keys 2020-04-03 07:56:00 -04:00
service_identities.go nomad: proxy requests for Service Identity tokens between Clients and Consul 2020-01-31 19:03:53 -06:00
services.go structs: fix compatibility between api and nomad/structs proxy definitions 2020-04-13 15:59:45 -06:00
services_test.go connect: correctly deal with nil sidecar_service task stanza 2020-04-09 20:28:17 -06:00
streaming_rpc.go
structs.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
structs_codegen.go Codecgen full package 2018-04-26 15:24:53 -07:00
structs_test.go connect: enable automatic expose paths for individual group service checks 2020-03-31 17:15:50 -06:00
testing.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
volumes.go csi: add mount_options to volumes and volume requests (#7398) 2020-03-23 13:59:25 -04:00