Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10431

In major installations, Filesystem Attachment Store deleteEmptyDirs() can block startup for significant time.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1-milestone-1
    • Fix Version/s: 6.1-milestone-2
    • Component/s: Storage
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The problem is deleteEmptyDirs() does a (potentially time costly) walk of the filesystem directory tree each startup and since it's called from inside of an initializer, it's happening while a global lock is held.

        Attachments

          Activity

            People

            • Assignee:
              calebjamesdelisle CalebJamesDeLisle
              Reporter:
              calebjamesdelisle CalebJamesDeLisle
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: