You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2016/12/05 22:42:58 UTC
[jira] [Created] (REEF-1684) Propagate CancellationToken to Wake
TCP connection utils
Mariia Mykhailova created REEF-1684:
---------------------------------------
Summary: Propagate CancellationToken to Wake TCP connection utils
Key: REEF-1684
URL: https://issues.apache.org/jira/browse/REEF-1684
Project: REEF
Issue Type: Improvement
Components: IMRU
Reporter: Mariia Mykhailova
In REEF-1464 we found out that IMRU task cancellation doesn't work properly if the task is in TCP connection establishment phase.
Instead of task stopping fast, it goes through all the connection retries even though the task it's trying to connect to
might be already closed. This might take considerable time, depending on settings of {{MaxConnectionRetry}} and {{SleepTime}}.
We need to fix this so that task will get cancelled faster even if task is in TCP connection establishment phase.
To do this, we need to investigate retry policies which can be used in {{RemoteConnectionRetryHandler}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)