ironic/releasenotes/notes/hash-ring-6ce212ab86c2592d.yaml
Dmitry Tantsur d3872cfcdd Fix a race condition in the hash ring code
We're handling hash rings and updated_at differently: one
is stored on the class level, the other - on instance. Apparently,
there is a race there, resulting in updated_at never updated.
Store hash rings and updated_at in one tuple, so that they're
always loaded and stored together.

Also remove double loading of the hash ring in _get_ring that
could contribute to the problem.

Change-Id: Ib659014e07549ae3d5ec7e69da318301f5994ca8
2020-09-28 17:15:28 +02:00

6 lines
146 B
YAML

---
fixes:
- |
Fixes a potential race in the hash ring code that could result in the
hash rings never updated after their initial load.