Race when creating backports for bug spanning multiple repos

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.0
    • Affects Version/s: 0.9
    • Component/s: bots

      When a fix is integrated in multiple repos at the same time (typically open and Oracle closed), the Skara notifier bots seem to often end up in a race for creating a suitable backport record, as separate threads are processing each repo concurrently. While this isn't causing any data loss or corruption, we currently get a SEVERE notification each time it happens. I think we need to more actively handle this situation more gracefully to avoid notifying admins when there really is no problem.

      I think a reasonable strategy would be to have a fallback when backport creation fails, to check again if it already exists, and if so get and return the existing backport instead.

            Assignee:
            Vijay Kulkarni
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: