You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Benchao Li (JIRA)" <ji...@apache.org> on 2019/02/20 02:30:00 UTC

[jira] [Updated] (FLINK-11655) Remove `Serializable` interface from `CallAsync`

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

Benchao Li updated FLINK-11655:
-------------------------------
    Description: 
 

`RunAsync` and `CallAsync` are akka messages which are used only locally, so we don't need the `Serializable` interface here.

  was:
The `runnable` in `RunAsync` should only be called locally.

Like `CallAsync`, the field `runnable` should be transient too.

        Summary: Remove `Serializable` interface from `CallAsync`  (was: runnable field should be transient in RunAsync from RPC messages)

> Remove `Serializable` interface from `CallAsync`
> ------------------------------------------------
>
>                 Key: FLINK-11655
>                 URL: https://issues.apache.org/jira/browse/FLINK-11655
>             Project: Flink
>          Issue Type: Bug
>          Components: Distributed Coordination
>    Affects Versions: 1.6.3, 1.7.2
>            Reporter: Benchao Li
>            Assignee: Benchao Li
>            Priority: Minor
>
>  
> `RunAsync` and `CallAsync` are akka messages which are used only locally, so we don't need the `Serializable` interface here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)