mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 12:55:08 -04:00
The following order of events was possible: - An ILM policy update cleared `cachedSteps` - ILM retrieves the step definition for an index, this populates `cachedSteps` with the outdated policy - The updated policy is put in `lifecyclePolicyMap` Any subsequent cache retrievals will see the old step definition. By clearing `cachedSteps` _after_ we update `lifecyclePolicyMap`, we ensure eventual consistency between the policy and the cache. Fixes #118406
6 lines
112 B
YAML
6 lines
112 B
YAML
pr: 126840
|
|
summary: Fix `PolicyStepsRegistry` cache concurrency issue
|
|
area: ILM+SLM
|
|
type: bug
|
|
issues:
|
|
- 118406
|