[jira] [Created] (IGNITE-4381) Need ensure that internal threads do not execute blocking operations

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4381) Need ensure that internal threads do not execute blocking operations

Anton Vinogradov (Jira)
Semen Boikov created IGNITE-4381:
------------------------------------

             Summary: Need ensure that internal threads do not execute blocking operations
                 Key: IGNITE-4381
                 URL: https://issues.apache.org/jira/browse/IGNITE-4381
             Project: Ignite
          Issue Type: Task
          Components: general
            Reporter: Semen Boikov
            Assignee: Konstantin Dudkov
             Fix For: 2.0


If internal threads execute blocking operation this can cause starvation and hangs (example of issue https://issues.apache.org/jira/browse/IGNITE-4371).
Ideally we need a way to 'automatically' find all such places in code, straightforward idea is add assert in GridFutureAdapter.get - assert should fail if it is called by system thread and future is not finished. At least one issue here is that currently system threads can be blocked on operation on utility/marshaller cache, so assert should also take it into account.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)