[openstack-dev] [Mistral] task update at end of handle_task in executor

Renat Akhmerov rakhmerov at mirantis.com
Mon Mar 31 04:36:16 UTC 2014

I agree with all the explanations given here.

> On Thu, Mar 27, 2014 at 9:47 AM, Manas Kelshikar <manas at stackstorm.com> wrote:
> Yes. It is a bug and should be done before line 119:  self._do_task_action(db_task). It can definitely lead to bugs especially since _do_task_action itself updates the status.
> On Wed, Mar 26, 2014 at 8:46 PM, W Chan <m4d.coder at gmail.com> wrote:
> In addition, for sync tasks, it'll overwrite the task state from SUCCESS to RUNNING.

Guys, good catch.

Has it been addressed yet?

Renat Akhmerov
@ Mirantis Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140331/6f0dc4b5/attachment.html>

More information about the OpenStack-dev mailing list