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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7.0
    • Component/s: None
    • Labels:

      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

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

                Dates

                Created:
                Updated:
                Resolved: