[openstack-dev] [oslo][nova] how to best deal with default periodic task spacing behavior

Davanum Srinivas davanum at gmail.com
Tue May 20 15:00:42 UTC 2014


@Matt,

Agree, My vote would be to change existing behavior.

-- dims

On Tue, May 20, 2014 at 10:15 AM, Matt Riedemann
<mriedem at linux.vnet.ibm.com> wrote:
> Between patch set 1 and patch set 3 here [1] we have different solutions to
> the same issue, which is if you don't specify a spacing value for periodic
> tasks then they run whenever the periodic task processor runs, which is
> non-deterministic and can be staggered if some tasks don't complete in a
> reasonable amount of time.
>
> I'm bringing this to the mailing list to see if there are more opinions out
> there, especially from operators, since patch set 1 changes the default
> behavior to have the spacing value be the DEFAULT_INTERVAL (hard-coded 60
> seconds) versus patch set 3 which makes that behavior configurable so the
> admin can set global default spacing for tasks, but defaults to the current
> behavior of running every time if not specified.
>
> I don't like a new config option, but I'm also not crazy about changing
> existing behavior without consensus.
>
> [1] https://review.openstack.org/#/c/93767/
>
> --
>
> Thanks,
>
> Matt Riedemann
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Davanum Srinivas :: http://davanum.wordpress.com



More information about the OpenStack-dev mailing list