calico icon indicating copy to clipboard operation
calico copied to clipboard

[v3.30] OpenStack: make periodic compaction loop independent of resync

Open nelljerram opened this issue 3 weeks ago • 0 comments

Cherry-pick history

  • Pick onto release-v3.30: projectcalico/calico#11306 We need to make the compaction and resync loops independent for two reasons.
  1. If resync is enabled and takes a very long time (multiple hours), we don't want that to block us from regularly requesting compaction.

  2. If resync is disabled, by resync_interval_secs being set to 0, we still want to request compaction periodically.

  3. The help text for etcd_compaction_period_mins says "Interval in minutes between periodic etcd compactions." So we should actually implement that! Currently the actual interval is resync_interval_secs plus however long a resync cycle takes.

Release Note

OpenStack bugfix: request etcd compaction periodically regardless of how long resync takes, or if periodic resync is disabled.

nelljerram avatar Dec 17 '25 15:12 nelljerram