You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2023/04/04 11:24:00 UTC

[jira] [Assigned] (IGNITE-19200) DistributedQueryManager#close() fails to complete cancellation future

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

Roman Puchkovskiy reassigned IGNITE-19200:
------------------------------------------

    Assignee: Roman Puchkovskiy

> DistributedQueryManager#close() fails to complete cancellation future
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-19200
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19200
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Roman Puchkovskiy
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> var finalStepFut = compoundCancelFut.thenRun(() -> {
>     queryManagerMap.remove(ctx.queryId());
>     try {
>         ctx.cancel().cancel();
>     } catch (Exception ex) {
>         // NO-OP
>     }
>     cancelFut.complete(null);
> });
> The step above must be executed after compoundCancelFut is completed regardless of whether the completion is normal or exceptional; instead, the current code only executes this code on normal completion.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)