Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4595

CachingDirectoryFactory#close can throw a concurrent modification exception.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      We release the lock tmp while waiting for any outstanding directories to be returned - if that happens, the collection we are iterating on can change from another thread when an outstanding directory is released. We need to make our own collection rather than using the one shared with byDirectoryCache.

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              markrmiller@gmail.com Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: