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

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

      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.

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

                Created:
                Updated:
                Resolved: