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

Background tasks of branches and PR are not deleted

    XMLWordPrintable

    Details

    • Edition:
      Developer

      Description

      Rows in tables CE_ACTIVITY and CE_QUEUE and all their child tables are not deleted when long-lived branches, short-lived branches and PRs are deleted.

      The reason is the following:
      1. data from these tables is deleted based on the component uuid to which tasks are associated with
      2. For branch and PRs, the value of the component uuid is the uuid of the project (master branch), not the UUID of the branch/PR

      For the record, association between a task and a branch/PR is stored in table CE_TASK_CHARACTERISTICS.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: