update-status should sleep a random time rather than exactly 5 minutes
Bug #1698139 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
Currently we are very precise in how much time elapses since the last time we called the update-status hook.
However, that encourages a 'thundering herd' where all of the agents wake up at approximately the same time to go update their status.
We should instead have something like 'every 5 minutes + random sleep of +/- 1 minute'. That would help encourage the units to spread out over time. We could even do 5min + [0-5] or something along those lines if we wanted them to spread out faster.
I don't think this conflicts with bug #1697841. We could make both values configurable (how often, and how much spread).
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/juju/ juju/pull/ 7519