Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7289

Unnecessary scan lock acquisition on FileSystemDeploymentService.scanDirectory

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 29.0.0.Final
    • None
    • Server
    • None

      The FileSystemDeploymentService.scanDirectory iterates over all the files on the deployment dir, and if it finds a FAILED_DEPLOY mark, it acquires/releases the scan lock unnecessarily.

      FileSystemDeploymentService.scanDirectory is a private method that is always called with the scan lock acquired.

      The task here is to remove the unnecessary lock acquisition from the for loop.

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: