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

Task UUID leaking out of task's logs in case of SQL Error during task move to CE_ACTIVITY

    XMLWordPrintable

    Details

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

      Description

      If a SQL error occurs in CeWorkerCallableImpl when finishing the task (see https://github.com/SonarSource/sonarqube/blob/branch-6.1/server/sonar-server/src/main/java/org/sonar/server/computation/taskprocessor/CeWorkerCallableImpl.java#L94), the task's UUID is not removed from the MDC and it leaks to log of the CE task processor.

        Attachments

          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

              Due:
              Created:
              Updated:
              Resolved: