You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Kovalenko (JIRA)" <ji...@apache.org> on 2018/07/30 11:50:00 UTC
[jira] [Updated] (IGNITE-9121) Revisit future.get() usages when
process message from Communication SPI
[ https://issues.apache.org/jira/browse/IGNITE-9121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Kovalenko updated IGNITE-9121:
------------------------------------
Description:
Currently, we use explicit synchronous future.get() when process messages from Communication SPI. This potentially may lead to deadlocks or thread-pool exhausting as was showed in IGNITE-9111 e.g.
To fix the problem we should determine all places in the code where we synchronously wait for some futures and try to either refactor these places or implement a special exception (which will contain such future) with subsequent retrying a runnable in low-level Communication SPI processing when future will be completed.
was:
Currently, we use explicit synchronous future.get() when process messages from Communication SPI. This potentially may lead to deadlocks to thread-pool exhausting as was showed in IGNITE-9111 e.g.
To fix the problem we should determine all places in the code where we synchronously wait for some futures and try to either refactor these places or implement a special exception (which will contain such future) with subsequent retrying a runnable in low-level Communication SPI processing when future will be completed.
> Revisit future.get() usages when process message from Communication SPI
> -----------------------------------------------------------------------
>
> Key: IGNITE-9121
> URL: https://issues.apache.org/jira/browse/IGNITE-9121
> Project: Ignite
> Issue Type: Improvement
> Components: cache
> Affects Versions: 2.5, 2.6
> Reporter: Pavel Kovalenko
> Priority: Major
>
> Currently, we use explicit synchronous future.get() when process messages from Communication SPI. This potentially may lead to deadlocks or thread-pool exhausting as was showed in IGNITE-9111 e.g.
> To fix the problem we should determine all places in the code where we synchronously wait for some futures and try to either refactor these places or implement a special exception (which will contain such future) with subsequent retrying a runnable in low-level Communication SPI processing when future will be completed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)