Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8989 tasks wrongly in "in progress" state should be reset to "pending" state
  3. SONAR-8986

In progress tasks of non existent ce workers should be automatically reset

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: Compute Engine, Database
    • Labels:

      Description

      In the event a worker suddenly fails, it will leave the task it was running with state "IN PROGRESS" in DB.

      Such tasks must be automatically reset to "PENDING" state to be processed by another worker by a job which may run every 10 minutes.

      This job will rely on the UUID of the workers which are currently running to reset tasks of any other worker UUID:

      • when running a standalone SonarQube, the UUIDs for the workers is available in memory.
      • when running a SonarQube cluster, the UUIDs of the workers must be shared across all CE nodes so that any of them is capable of performing this reset responsibility

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.hartmann Eric Hartmann
              Reporter:
              eric.hartmann Eric Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: