Andrey Mashenkov created IGNITE-12444:
-----------------------------------------
Summary: SQL: Query reduce can fail with NPE on retry.
Key: IGNITE-12444
URL:
https://issues.apache.org/jira/browse/IGNITE-12444 Project: Ignite
Issue Type: Test
Components: sql
Reporter: Andrey Mashenkov
GridReduceQueryExecutor can fail with NPE on retry if it couldn't map during retry timeout.
So, 'lastRun' can be null here
{code:java}
if (attempt > 0 && retryTimeout > 0 && (U.currentTimeMillis() - startTime > retryTimeout)) {
UUID retryNodeId = lastRun.retryNodeId();
String retryCause = lastRun.retryCause();
assert !F.isEmpty(retryCause);
{code}
Also assertion above is not correct.
It is possible, we failed to send request, then retried with success to remap.
So, 'lastRun' would be not null, but cause is empty.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)