ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Kondakov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6904) SQL: partition reservations are released too early in lazy mode
Date Wed, 29 Nov 2017 07:53:00 GMT

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

Roman Kondakov commented on IGNITE-6904:
----------------------------------------

[~vozerov], test implemented, TC run is ok. Please, review.

> SQL: partition reservations are released too early in lazy mode
> ---------------------------------------------------------------
>
>                 Key: IGNITE-6904
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6904
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.3
>            Reporter: Vladimir Ozerov
>            Assignee: Roman Kondakov
>             Fix For: 2.4
>
>
> 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:
> {code}
> finally {
>     GridH2QueryContext.clearThreadLocal();
>     if (distributedJoinMode == OFF)
>         qctx.clearContext(false);
> }
> {code}
> It means that incorrect results may be returned on unstable topology. We need to release
partitions only after the whole query is executed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message