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 12:02:00 UTC
[jira] [Updated] (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 updated IGNITE-19200:
---------------------------------------
Fix Version/s: 3.0.0-beta2
> 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: 10m
> 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)