You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/08/14 13:46:20 UTC

[jira] [Resolved] (FLINK-4386) Add as way to assert that code runs in the RpcEndpoint's Main Thread

     [ https://issues.apache.org/jira/browse/FLINK-4386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-4386.
---------------------------------
    Resolution: Implemented

Implemented in 363f07cc4d0f452cd9479a704703ae59e8d450c6

> 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
>            Assignee: 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)