Make unspecified periodic spaced tasks run on default interval

Bug #1322377 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Invalid
Medium
Unassigned

Bug Description

https://review.openstack.org/93767
commit c63fd5a439f22cf32ebea951e6f3b150374004f9
Author: Matt Riedemann <email address hidden>
Date: Thu May 15 07:51:43 2014 -0700

    Make unspecified periodic spaced tasks run on default interval

    When there are multiple tasks with a defined spacing, they can get
    somewhat staggered and force the periodic task processor to run
    additional iterations. Since tasks with no spacing run every time the
    periodic task processor runs, they get run more frequently than one
    would expect.

    Some may argue that this change in behavior could cause some task to
    behave differently than it used to. However, there was never any
    guarantee that the task would run more often than every 60 seconds, and
    in many cases the tasks may already run less frequently than that (due
    to other long-running tasks). So this change should not introduce any
    new issues related to the timing of task execution; it would only serve
    to make the timing more regular.

    We should also make the default interval configurable but that's
    reserved for a separate change.

    DocImpact: periodic tasks without a specific spacing interval will now
    run on the default interval (currently every 60 seconds) rather than
    whenever the task processor runs.

    UpgradeImpact: see above; periodic tasks without a specific spacing
    interval will now run on the default interval which may be less
    often than some tasks run now, but with this change they will run
    on a more consistent interval.

    Closes-Bug: #1319232
    Related-Bug: #1276203
    Related-Bug: #1272830

    Change-Id: I4dd20f68175165d311fa4d3f459c86f2dcac911b

Lingxian Kong (kong)
Changed in openstack-manuals:
assignee: nobody → Lingxian Kong (kong)
Revision history for this message
Lingxian Kong (kong) wrote :

I'm trying, but didn't know which doc to be fixed

Changed in openstack-manuals:
assignee: Lingxian Kong (kong) → nobody
Lana (loquacity)
Changed in openstack-manuals:
status: New → Confirmed
Loic Dachary (dachary)
Changed in openstack-manuals:
assignee: nobody → Loic Dachary (dachary)
Loic Dachary (dachary)
Changed in openstack-manuals:
assignee: Loic Dachary (dachary) → nobody
Changed in openstack-manuals:
importance: Undecided → Medium
Revision history for this message
Tom Fifield (fifieldt) wrote :

A welcome change of behaviour, rather than something that needs to be documented

Changed in openstack-manuals:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.