[
https://issues.apache.org/jira/browse/FLINK-12484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski closed FLINK-12484.
----------------------------------
Fix Version/s: 1.11.0
Release Note:
Removed deprecated in Flink 1.10 {{getCheckpointLock}} method of the
{{org.apache.flink.streaming.runtime.tasks.StreamTask}} class.
Users should use {{MailboxExecutor}} to run actions that require
synchronization with the task's thread (e.g. collecting output produced by an
external thread). {{MailboxExecutor#yield}} or {{MailboxExecutor#tryYield}}
methods can be used for actions that should give control to other actions
temporarily, if the current operator is blocked.
{{MailboxExecutor}} can be accessed by using {{YieldingOperatorFactory}}.
Example usage can be found in the {{AsyncWaitOperator}}.
Resolution: Fixed
Merged as
3ac3728bfb6fbeaadcf705d8ae7afff61760df95..6a160d7ab69a212783b93771531fdb6ba10c4bce
> Drop unnecessary locking for code-paths that now use the mailbox
> ----------------------------------------------------------------
>
> Key: FLINK-12484
> URL: https://issues.apache.org/jira/browse/FLINK-12484
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Task
> Reporter: Stefan Richter
> Assignee: Roman Khachatryan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)