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

CE tables must be cleaned at startup by web leader, not by compute engine

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2, 6.3
    • Fix Version/s: 6.4
    • Component/s: Compute Engine
    • Labels:

      Description

      When a CE process starts, it performs cleaning operations on the CE tables:

      • reset all in progress tasks to pending on regular startup
      • delete all data from ce_queue after an upgrade
      • remove tasks from ce_activity older than six months on every startup

      The fact these operations are done by a Compute Engine process may cause concurrency issues in clustering mode when more than one Compute Engine node is configured.

      These tasks should be performed by the Web Leader

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: