Description
In lazy mode we advance query execution as new page requests arrive. However, method GridMapQueryExecutor#onQueryRequest0 releases partition reservations when only the very first page is processed:
finally { GridH2QueryContext.clearThreadLocal(); if (distributedJoinMode == OFF) qctx.clearContext(false); }
It means that incorrect results may be returned on unstable topology. We need to release partitions only after the whole query is executed.
Attachments
Issue Links
- relates to
-
IGNITE-7712 Add an ability to globally enable 'lazy' flag for SQL queries
- Closed
- links to