open-nomad/nomad/state
Tim Gross 60874ebe25
csi: Postrun hook should not change mode (#9323)
The unpublish workflow requires that we know the mode (RW vs RO) if we want to
unpublish the node. Update the hook and the Unpublish RPC so that we mark the
claim for release in a new state but leave the mode alone. This fixes a bug
where RO claims were failing node unpublish.

The core job GC doesn't know the mode, but we don't need it for that workflow,
so add a mode specifically for GC; the volumewatcher uses this as a sentinel
to check whether claims (with their specific RW vs RO modes) need to be claimed.
2020-11-11 13:06:30 -05:00
..
autopilot.go remove node events for state track changing pr 2020-09-04 10:23:35 -04:00
autopilot_test.go implement MinQuorum 2020-02-16 16:04:59 -06:00
deployment_events_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
events.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
events_test.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
schema.go event sink crud operation api (#9155) 2020-10-23 14:23:00 -04:00
schema_test.go remove event durability (#9147) 2020-10-22 12:21:03 -04:00
state_changes.go events: Use single eventsFromChanges func (#9281) 2020-11-05 13:06:52 -08:00
state_store.go csi: Postrun hook should not change mode (#9323) 2020-11-11 13:06:30 -05:00
state_store_oss.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
state_store_test.go csi: Postrun hook should not change mode (#9323) 2020-11-11 13:06:30 -05:00
testing.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00