Roman Puchkovskiy created IGNITE-19200:
------------------------------------------

             Summary: 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


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)

Reply via email to