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

CE tasks must not be executed more than twice

    Details

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

      Description

      Tags which have been starting but couldn't be finished for any reason are now automatically reset to be processed again (see SONAR-8989).

      But, in the event the cause of the task failing is directly related to the task itself (such as an analysis report causing an OOM), chances are the task will fail again, even if executed by another worker. In such case, we don't want the failing task to be run indefinitely. This would lead to all workers try and failing to run it and all going down one by one.

      To prevent this, tasks should not be run more than twice.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                sebastien.lesaint Sebastien Lesaint
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: