[
https://issues.apache.org/jira/browse/MESOS-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Schad updated MESOS-5604:
-------------------------------
Description:
We recently experienced a race condition (MESOS-5587) as we used .then()
instead of .then(defer(self() ).
When looking at the code base we found a number of other potentially wrong uses
which could cause race conditions.
This Jira is supposed to track the investigation effort in this matter.
Note that this problem does not only apply to .then, but also for example to
.onAny(). From looking at the codebase, it just seems we are more disciplined
when using .onAny(). Hence we first look at .then().
was:
We recently experienced a race condition (MESOS-5587) as we used .then()
instead of .then(defer(self() ).
When looking at the code base we found a number of other potentially wrong uses
which could cause race conditions.
This Jira is supposed to track the investigation effort in this matter.
> Check for incorrect use of `.then` (as opposed to `.then(defer(self() ))`).
> ---------------------------------------------------------------------------
>
> Key: MESOS-5604
> URL: https://issues.apache.org/jira/browse/MESOS-5604
> Project: Mesos
> Issue Type: Task
> Reporter: Joerg Schad
> Assignee: Joerg Schad
>
> We recently experienced a race condition (MESOS-5587) as we used .then()
> instead of .then(defer(self() ).
> When looking at the code base we found a number of other potentially wrong
> uses which could cause race conditions.
> This Jira is supposed to track the investigation effort in this matter.
> Note that this problem does not only apply to .then, but also for example to
> .onAny(). From looking at the codebase, it just seems we are more disciplined
> when using .onAny(). Hence we first look at .then().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)