Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7984

DML: improve deadlock handling

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: sql
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vozerov Vladimir Ozerov
                Reporter:
                vozerov Vladimir Ozerov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: