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

ASF GitHub Bot commented on IGNITE-7039:
----------------------------------------

GitHub user dolphin1414 opened a pull request:

    https://github.com/apache/ignite/pull/3194

    IGNITE-7039: SQL: local query now pin affected partitions.

    Implemented partitions reservation for the local queries. Added a test.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-7039

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3194.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3194
    
----
commit 9a851a58ad5eb43f5b868d4a72013ce4a9beb395
Author: rkondakov <[email protected]>
Date:   2017-12-09T17:39:26Z

    IGNITE-7039: Partitions reservation for the local queries is implemented.

commit dac1fc52cef92eae848966e85218da79092a48fa
Author: rkondakov <[email protected]>
Date:   2017-12-11T09:52:04Z

    IGNITE-7039: Tests implemented.

commit 769ac1a7f2d66677127cdbc1ea367ee873132220
Author: rkondakov <[email protected]>
Date:   2017-12-11T09:52:50Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/ignite 
into ignite-7039

----


> SQL: local query should pin affected partitions
> -----------------------------------------------
>
>                 Key: IGNITE-7039
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7039
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Vladimir Ozerov
>            Assignee: Roman Kondakov
>
> When distributed query is executed, we pin cache partitions for particular 
> topology version on map nodes [1]. However, it seems that we do no do that 
> for local queries. This is a bug because partition with required data could 
> be evicted from local node at any time, leading to incorrect results.
> [1] 
> https://github.com/apache/ignite/blob/ignite-2.3/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/GridMapQueryExecutor.java#L288



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

Reply via email to