Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7193

PullRequestMergedEvent is no longer asynchronous

    XMLWordPrintable

Details

    Description

      Starting from Stash 3.7.0, PullRequestMergedEvent is no longer raised asynchronously. Instead, if it raised directly on the merging thread. This has 2 very important consequences:

      1. Any database operations performed by listeners are now performed in the read-only transaction used by the merging thread and are rolled back when the merge call completes
      2. Operations performed by event listeners happen in user time and block the merge request from returning until they are complete

      Attachments

        Issue Links

          Activity

            People

              jpoh Jonathan Poh (Inactive)
              bturner Bryan Turner (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: