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 13:56:00 UTC

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

    [ https://issues.apache.org/jira/browse/IGNITE-19200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17708432#comment-17708432 ] 

Roman Puchkovskiy commented on IGNITE-19200:
--------------------------------------------

Thanks!

> 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
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)