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

Concurrent access to WS cache allowed

    XMLWordPrintable

    Details

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

      Description

      Heavy testing of the locks used by batch's webservice cache shows that under intensive parallel use it may allow concurrent access to the cache entries.
      The problems seems to be the deletion of the lock file.

      I haven't found a way to delete the lock file in a safe way, so the best is probably to leave the file.

      As the lock implementation is also used by the project's locking, the project locking will probably need to create the lock file somewhere else to avoid leaving a file in the root project directory.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: