You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Kasnacheev (JIRA)" <ji...@apache.org> on 2019/01/17 16:43:00 UTC

[jira] [Updated] (IGNITE-10972) MERGE INTO hangs in MVCC mode with unsorted keys

     [ https://issues.apache.org/jira/browse/IGNITE-10972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Kasnacheev updated IGNITE-10972:
-------------------------------------
    Attachment: CacheMvccMergeConflictTest.java

> MERGE INTO hangs in MVCC mode with unsorted keys
> ------------------------------------------------
>
>                 Key: IGNITE-10972
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10972
>             Project: Ignite
>          Issue Type: Bug
>          Components: mvcc, sql
>    Affects Versions: 2.7
>            Reporter: Ilya Kasnacheev
>            Priority: Major
>         Attachments: CacheMvccMergeConflictTest.java
>
>
> right now, if you perform repeatedly
> MERGE INTO T(K, V) VALUES(k1, v1), (k2, v2), (k3, v3);
> and in parallel
> MERGE INTO T(K, V) VALUES(k2, v2), (k1, v1);
> you will eventually see a deadlock. This is expected behavior as per old putAll behavior, but the expectation is that you should see "Cannot serialize transaction" errors instead of deadlock when using MVCC.
> When doing MERGE INTO with sorted keys you will not get deadlock but will see a lot of "Cannot serialize transaction" exception with expectation that such statements to not conflict instead since they are ordered.
> Please see attached test and userlist discussion.



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