open-nomad/nomad/state
Drew Bailey f9f5fe8236
Events switch on memdb change table instead of type to prevent duplicates (#9486)
* prevent duplicate job events

when a job is updated, the job_version table is updated with a structs.Job, this caused there to be multiple job events since we are switching off the change type and not the table

* test length

* add table value to tests
2020-12-01 15:14:05 -05:00
..
autopilot.go remove node events for state track changing pr 2020-09-04 10:23:35 -04:00
autopilot_test.go
deployment_events_test.go Events/mv structs (#9430) 2020-11-23 14:01:10 -05:00
events.go Events switch on memdb change table instead of type to prevent duplicates (#9486) 2020-12-01 15:14:05 -05:00
events_test.go Events switch on memdb change table instead of type to prevent duplicates (#9486) 2020-12-01 15:14:05 -05:00
iterator.go csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
schema.go Remove Managed Sinks from Nomad (#9470) 2020-11-30 14:00:31 -05: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 pass in msgType for UpsertJob (#9475) 2020-12-01 14:00:52 -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 Event Stream: Track ACL changes, unsubscribe on invalidating changes (#9447) 2020-12-01 11:11:34 -05:00
testing.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00