Fix race condition with Add Component REST API

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • Component/s: Issue - Backend
    • None
    • 2
    • Severity 3 - Minor

      It is found that we are getting race conditions when calling issue updates via PUT /rest/api/2/issue .

      We are using the format of update with add to add components to an issue, but are finding that concurrent requests can cause subsequent requests to override and therefore ‘delete’ components from the earlier requests (ie, Request 1 -> add a, Request 2 -> add b , Request 2 also deletes a if the requests are timed closely to each other).

            Assignee:
            Unassigned
            Reporter:
            Sugandha Singh
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: