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

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.4.5
    • 5.4.41
    • None
    • None
    • Sprint 40, Sprint 41, Sprint 42, Sprint 43
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: