You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Artur Khanin (Jira)" <ji...@apache.org> on 2021/12/20 08:43:00 UTC

[jira] [Work started] (BEAM-13479) [Playground] Change logic with Cancel method.

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

Work on BEAM-13479 started by Pavel Avilov.
-------------------------------------------
> [Playground] Change logic with Cancel method.
> ---------------------------------------------
>
>                 Key: BEAM-13479
>                 URL: https://issues.apache.org/jira/browse/BEAM-13479
>             Project: Beam
>          Issue Type: Improvement
>          Components: beam-playground
>            Reporter: Aydar Zaynutdinov
>            Assignee: Pavel Avilov
>            Priority: P3
>              Labels: beam-playground-backend
>
> Now server call method as a goroutine to check cancel flag.
> When the Cancel() method is called the cancel flag is set to the cache as a true.
> Need:
>  * Set false flag as a default value before calling the Process method.
>  * Change the logic of the cancelCheck() method. Now it checks that the flag cancel exists and after that returns from the method and stops goroutine. Need to change this logic and return from the method in case the cancel flag is true. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)