flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4386) Add as way to assert that code runs in the RpcEndpoint's Main Thread
Date Thu, 11 Aug 2016 18:01:20 GMT
Stephan Ewen created FLINK-4386:
-----------------------------------

             Summary: Add as way to assert that code runs in the RpcEndpoint's Main Thread
                 Key: FLINK-4386
                 URL: https://issues.apache.org/jira/browse/FLINK-4386
             Project: Flink
          Issue Type: Sub-task
          Components: Distributed Coordination
         Environment: FLIP-6 feature branch
            Reporter: Stephan Ewen
             Fix For: 1.2.0


It would greatly help stability if we were able to add assertions to the code, like

{code}
private void someCallbackHandler() {
    assert isRunningInMainThread()
}
{code}



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

Mime
View raw message