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

AoBuildStatus is not thread-safe, causing logspam - "Multiple build statuses for commitId"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 6.7.0
    • None
    • None

    Description

      First seen when Bamboo sends the same status multiple times in quick succession (BAM-17597). But has also been seen when Jenkins does something similar.

       

      AoBuildStatusDao::set() calls delete() then create() with no transaction. This means it sometimes ends up as delete() delete() create() create() and multiple build statuses end up in the database.

      Attachments

        Issue Links

          Activity

            People

              khughes@atlassian.com Kristy
              aahmed Adam Ahmed (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: