open-nomad/nomad/state
Tim Gross c320c1ba57
CSI: fix struct copying errors (#9239)
The CSIVolume struct "denormalizes" allocations when it's first queried from
the state store. The CSIVolumeByID method on the state store copies the volume
before denormalizing so that we don't end up with unexpected changes. The
copying has some subtle bugs that meant that Allocations (as well as
Topologies and MountOptions) were not getting copied when expected.

Also, ensure we never write allocations attached to volumes to the state store
during claims.
2020-11-18 10:59:25 -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: fix struct copying errors (#9239) 2020-11-18 10:59:25 -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