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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 6.7.0
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Severity 3 - Minor
    • 10

      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.

            Assignee:
            Kristy
            Reporter:
            Adam Ahmed (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: