You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2019/02/04 13:34:00 UTC

[jira] [Created] (IGNITE-11193) MVCC TX: the query with specified explicit patririons fails

Taras Ledkov created IGNITE-11193:
-------------------------------------

             Summary: MVCC TX: the query with specified explicit patririons fails
                 Key: IGNITE-11193
                 URL: https://issues.apache.org/jira/browse/IGNITE-11193
             Project: Ignite
          Issue Type: Bug
          Components: mvcc, sql
    Affects Versions: 2.7
            Reporter: Taras Ledkov
            Assignee: Taras Ledkov
             Fix For: 2.8


If the explicit partitions specified by {{SqlFieldsQuery#setPartitions}} are placed on the several nodes the query fails at the partition reservation ({{GridDhtTxQueryEnlistFuture.checkPartitions}}) with error: "{{Cannot run update query. Node must own all the necessary partitions.}}"

*Root cause*: MVCC DML doesn't map the requests {{GridNearTxQueryEnlistRequest}}. Each node received the messages with all explicit partitions. 

*Proposal fix*: use the partitions/node mapping similar to SELECT queries. See more:
- {{GridH2QueryRequest#partitions}}
- {{ReducePartitionsSpecializer#ReducePartitionsSpecializer}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)