Task remains locked after setting status open to unconfirmed job in project overview

XMLWordPrintable

    • Critical
    • None
    • Fix task locking logic
    • None

      Problem

      When a user attempts to set status open to unconfirmed job in competitive task, the system acquires a task lock before performing update. But in process of update we also trigger workflow actions, one of them is responsible for removing of competitors.

      In this action system also tries to acquire lock while previous lock not released yet. As a result, the system awaits for lock in never ending loop and process hangs while task remains locked preventing other users and system processes from making modifications to the task until the lock expires or the process dies.

      Solution

      Release lock before calling workflow actions.

            Assignee:
            Sanya Mikhliaiev
            Reporter:
            Sanya Mikhliaiev
            None
            None
            Aleksandar Mitrev
            NO-FRONTEND-TESTING NEEDED
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None