ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Ledkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11193) MVCC TX: the query with specified explicit patririons fails
Date Mon, 04 Feb 2019 13:34:00 GMT
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)

Mime
View raw message