ironic/etc
Zhenguo Niu fb1a67fe6b Move hash_ring refresh logic out of sync_local_state
As sync_local_state periodic task can be disabled, which will lose
out on hash ring refresh, so the refresh logic should be independent
of it. this patch adds a updated_at to HashRingManager to track of
when the ring was last refreshed, and when checks the ring is set,
also check the age and rebuild if older than the new config option
hash_ring_reset_interval which is default to 180s.

Change-Id: Ie46dbf93b920543f99e11774a29878aaf27c3400
Closes-Bug: #1506657
2015-10-23 10:18:02 +08:00
..
apache2 Add display-name option to example apache2 configuration 2015-04-01 17:01:38 +03:00
ironic Move hash_ring refresh logic out of sync_local_state 2015-10-23 10:18:02 +08:00