Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2120

Look into MSSQL & DB2 deadlocks

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.2.0, 7.2.0-alpha1
    • None
    • engine
    • None

      Problem:
      There are two classes of deadlocks:
      1) DB-Specific (Seen on MSSQL & DB2 only), caused by the DB locking scheme used by these databases as a default setting.
      2) Non-BD-Specific, Caused by conflicts resulting from Conflicting Concurrent Transactions (CCTs) inside the same Process Instance. (See CAM-1971)

      Class 1 deadlocks

      • may already occur for SELECT statements,
      • may already occur if data from different PIs is being selected / modified,
        => have high probability to occur.

      Class 2 deadlocks

      • need unfortunate interleaving of UPDATE / DELETE,
      • only occur if CCTs are executed inside the same PI,
        => have low probability to occur.

      Objectives:

      • We want to get a feel whether Class 1 Deadlocks can be resolved by enabling snapshot isolation in these databases and if true document this setting.

      AT:

      • Testcase for class 1 Problems is available and ca be run as part of CI build
      • If applicable (depending on results): Proper isolation level Settings for MSSQL & DB2 are mentioned in Docs (latest / 7.1 / 7.0)

        This is the controller panel for Smart Panels app

              sebastian.menski Sebastian Menski
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: