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

Ignite TC Bot commented on IGNITE-16290:
----------------------------------------

{panel:title=Branch: [pull/9733/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9733/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6365621&buildTypeId=IgniteTests24Java8_RunAll]

> Non-informative warning on query retry - Query run was already removed
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-16290
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16290
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Andrey Mashenkov
>            Assignee: Andrey Mashenkov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The non-informative warning is printed when SQL query is restarted.
> {noformat}
> [WARN ][pub-#3460][GridReduceQueryExecutor] Query run was already removed: 
> 1467
> 2[2021-11-28T05:30:25,813][WARN ][pub-#3460][GridReduceQueryExecutor] Query 
> run was already removed: 1468
> 3[2021-11-28T05:30:25,874][WARN ][pub-#3460][GridReduceQueryExecutor] Query 
> run was already removed: 1469{noformat}
> Theis happens because we remove query context (ReduceQueryRun) from a map 
> twice: when decide to retry the query 
> {code:java}
>                     if (retry) {
>                         lastRun = runs.remove(qryReqId);
>                         assert lastRun != null;
>                     } else { {code}
> then when releasing resources in a finally block.
> {code:java}
> finally {
>     if (release) {
>         releaseRemoteResources(nodes, r, qryReqId, qry.distributedJoins(), 
> mvccTracker); {code}
> Thus, the second try is failed with the log message.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to