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

Nikita Amelchev updated IGNITE-29330:
-------------------------------------
    Description: 
A node does not send a query start response if the first batch of the fragment 
is already sent to the initiator node: the batch itself tells the initiator 
that the fragment is started.

This does not work for a fragment executed on the initiator node, so every such 
fragment sends the response to its own node as one more task of the query pool.

Besides, the set of started exchanges is a plain HashSet updated by fragments 
of one query from different threads.

ARM:
!image-2026-11-22-15-30-07-505.png|width=972,height=125!

X86:
!image-2026-11-22-15-30-38-337.png!

  was:
A node does not send a query start response if the first batch of the fragment 
is already sent to the initiator node: the batch itself tells the initiator 
that the fragment is started.

This does not work for a fragment executed on the initiator node, so every such 
fragment sends the response to its own node as one more task of the query pool.

Besides, the set of started exchanges is a plain HashSet updated by fragments 
of one query from different threads.

ARM:
!image-2026-11-22-15-30-07-505.png!


> SQL Calcite: Skip redundant query start response for fragments executed on 
> the initiator node
> ---------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-29330
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29330
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Nikita Amelchev
>            Assignee: Nikita Amelchev
>            Priority: Major
>         Attachments: image-2026-11-22-15-30-07-505.png, 
> image-2026-11-22-15-30-38-337.png
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> A node does not send a query start response if the first batch of the 
> fragment is already sent to the initiator node: the batch itself tells the 
> initiator that the fragment is started.
> This does not work for a fragment executed on the initiator node, so every 
> such fragment sends the response to its own node as one more task of the 
> query pool.
> Besides, the set of started exchanges is a plain HashSet updated by fragments 
> of one query from different threads.
> ARM:
> !image-2026-11-22-15-30-07-505.png|width=972,height=125!
> X86:
> !image-2026-11-22-15-30-38-337.png!



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to