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
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
schema.go Remove Managed Sinks from Nomad (#9470) 2020-11-30 14:00:31 -05:00
schema_test.go
state_changes.go
state_store.go pass in msgType for UpsertJob (#9475) 2020-12-01 14:00:52 -05:00
state_store_oss.go
state_store_test.go Event Stream: Track ACL changes, unsubscribe on invalidating changes (#9447) 2020-12-01 11:11:34 -05:00
testing.go