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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_events_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
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 Merge branch 'main' into f-1.3-boogie-nights 2022-03-23 09:41:25 +01:00
schema_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
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 test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
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: add service registration state interaction functions. 2022-02-28 10:15:03 +01:00
state_store_test.go state: only update index on change when deleting evals. (#13227) 2022-06-07 11:56:43 +02:00
testing.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00