Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-391

Multiple event handlers for the same asynchronous event can cause race conditions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.4.5
    • Fix Version/s: 5.4.41
    • Labels:
      None
    • Sprint:
      Sprint 40, Sprint 41, Sprint 42, Sprint 43
    • Critical Points:
      1.6

      Description

      For example the create default pull request tasks event handler can fail if participants are added at the same time in both event handlers.

      Where we have multiple event handlers run at the same time we should look at running them as a single event handler to avoid race condition and to avoid using locks.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amarkham Adam Markham
              Reporter:
              amarkham Adam Markham
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: