Hi,<div><br></div><div>That code is not in the one-3.8 branch, it is part of the new scheduled actions feature [1].</div><div><br></div><div>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.</div>
<div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://dev.opennebula.org/issues/1483">http://dev.opennebula.org/issues/1483</a></div><div>[2] <a href="http://dev.opennebula.org/issues/1811">http://dev.opennebula.org/issues/1811</a></div>
<div><br clear="all"><div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div>
<br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 10:13 AM, cmcc.dylan <span dir="ltr"><<a href="mailto:dx10years@126.com" target="_blank">dx10years@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial"><div> Hi everyone!</div> 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.<div> which scenarios can break the FIFO rule?</div></div><br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>