korlov42 commented on a change in pull request #8858:
URL: https://github.com/apache/ignite/pull/8858#discussion_r611458893
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/ExchangeServiceImpl.java
##########
@@ -116,12 +122,18 @@ public MessageService messageService() {
/** {@inheritDoc} */
@Override public void closeOutbox(UUID nodeId, UUID qryId, long
fragmentId, long exchangeId) throws IgniteCheckedException {
- messageService().send(nodeId, new OutboxCloseMessage(qryId,
fragmentId, exchangeId));
+ if (messageService().localNode().equals(nodeId))
Review comment:
it's not clear why we need such a guarantee. A `tryClose` method closes
the context of the root fragment, whereas an outbox is a root node for another
fragment, and every fragment, even the local one, has it's own execution
context.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]