[jira] [Created] (IGNITE-7984) DML: improve deadlock handling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-7984) DML: improve deadlock handling

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-7984:
---------------------------------------

             Summary: DML: improve deadlock handling
                 Key: IGNITE-7984
                 URL: https://issues.apache.org/jira/browse/IGNITE-7984
             Project: Ignite
          Issue Type: Task
          Components: sql
    Affects Versions: 2.4
            Reporter: Vladimir Ozerov
             Fix For: 2.5


Current DML implementation is not transactional. It groups keys in batches by their affinity, and then flushes that batches synchronously. This could lead to deadlocks easily.

This could be improved if we sort key within a batch. However, this would require new comparison function for {{BinaryObjectImpl}}, as it is not comparable.



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