open-nomad/nomad/state
James Rasell f5e78a3791
state: only update index on change when deleting evals. (#13227)
When deleting evaluations and allocations during a reap event, the
index table entries for evals and allocs was updated irregardless
of whether changes were made.

This change modifies the state logic so that the index table is
only modified when the corresponding table has actually been
modified. Along with matching expected behaviour, this change has
the potential to reduce the number of times blocking queries will
return without any real state change.
2022-06-07 11:56:43 +02:00
..
paginator service discovery: add pagination and filtering support to info requests (#12552) 2022-04-13 07:41:44 +02:00
autopilot.go autopilot: correctly return errors within state functions. (#12714) 2022-04-21 08:54:50 +02:00
autopilot_test.go
deployment_events_test.go
events.go events: fixup service events and rename topic to service. 2022-04-05 08:25:22 +01:00
events_test.go events: fixup service events and rename topic to service. 2022-04-05 08:25:22 +01:00
iterator.go
schema.go
schema_test.go
state_changes.go
state_store.go state: only update index on change when deleting evals. (#13227) 2022-06-07 11:56:43 +02:00
state_store_oss.go
state_store_restore.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00
state_store_restore_test.go
state_store_service_regisration_test.go nomad/state: fix dropped test errors (#12406) 2022-04-07 10:48:10 -04:00
state_store_service_registration.go
state_store_test.go state: only update index on change when deleting evals. (#13227) 2022-06-07 11:56:43 +02:00
testing.go