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

Performance empty pull request rescope activities is very poor on MySQL

      STASH-4517 introduced a recurring background job that deletes empty rescope activities. Unfortunately, this delete query performs very poorly on MySQL when there are lots of records in the sta_activity_* tables. This can result in both an increase in deadlocks and extremely long delays on other SQL operations.

      Another action which can trigger these slow operations is deleting a repository, since that requires deleting all of the repository's pull requests (and their activities).

            [BSERV-4701] Performance empty pull request rescope activities is very poor on MySQL

            Rudy Slaiby made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 121896 ]
            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1445281 ] New: JAC Bug Workflow v3 [ 3134499 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 686055 ] New: Stash Workflow - Restricted [ 1445281 ]
            Paz (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 101372 ] New: This issue links to "Page (Extranet)" [ 101372 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 112150 ] New: This issue links to "Page (Extranet)" [ 112150 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 121896 ] New: This issue links to "Page (Extranet)" [ 121896 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 112150 ] New: This issue links to "Page (Extranet)" [ 112150 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 121896 ] New: This issue links to "Page (Extranet)" [ 121896 ]
            sguio made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 101372 ] New: This issue links to "Page (Extranet)" [ 101372 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 101372 ] New: This issue links to "Page (Extranet)" [ 101372 ]

              dkordonski Dariusz Kordonski (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: