[one-users] why does scheduler need to order the actions pending in scheduler queue?

Carlos Martín Sánchez cmartin at opennebula.org
Tue Mar 19 05:01:06 PDT 2013


Hi,

That code is not in the one-3.8 branch, it is part of the new scheduled
actions feature [1].

Executing the scheduled actions in a FIFO order can lead to unexpected
behaviours, since the actions are ordered by time. See [2] for an example.

Regards

[1] http://dev.opennebula.org/issues/1483
[2] http://dev.opennebula.org/issues/1811

--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Tue, Mar 19, 2013 at 10:13 AM, cmcc.dylan <dx10years at 126.com> wrote:

>     Hi everyone!
>     I read source codes of  opennebula-3.8.3  and find that scheduler has
> to order the scheduler quque in every TIMER_ACTION by do_scheduled_actions
> function. I have a doubt  why scheduler should order them because  the
> actions added in scheduler quque are already FIFO.
>     which scenarios can break the FIFO rule?
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130319/82de875c/attachment-0002.htm>


More information about the Users mailing list