Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6340

Cancel report processing when several reports have been sent for the same project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.1
    • Component/s: Compute Engine
    • Labels:
      None

      Description

      When 2 reports for the same project are in the queue, it may happens that the first analysis delete snapshots of the second analysis.

      To prevent this, when getting the next report to process, we check if the given snapshot ID exists. If it does not exist:

      • 2 messages must be logged:
        • DEBUG: The snapshot ID #xxxx provided by the report #xxxx does not exist anymore.
        • INFO: Processing of report #xxxx is canceled because it was submitted while another report of the same project was already being processed.
      • the report status must be set to "CANCELED"

        Attachments

          Activity

            People

            Assignee:
            bteryk OLD - Teryk Bellahsene
            Reporter:
            bteryk OLD - Teryk Bellahsene
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: