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

Project's File Lock not released on error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.4
    • Component/s: Scanner
    • Labels:
      None

      Description

      SonarQube batch uses file locks to prevent multiple parallel analysis on the same project.
      In some cases, if an exception is thrown, this lock might not be released.
      This is not a problem if the batch process stops because the OS will release it, but it is a problem for SonarLint because the batch is always up.

      A possible workaround is to restart the batch when an exception happens.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              duarte.meneses Duarte Meneses
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: