Solr
  1. Solr
  2. SOLR-4595

CachingDirectoryFactory#close can throw a concurrent modification exception.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1457292

        SOLR-4595: CachingDirectoryFactory#close can throw a concurrent modification exception.

        Show
        Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1457292 SOLR-4595 : CachingDirectoryFactory#close can throw a concurrent modification exception.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1457294

        SOLR-4595: CachingDirectoryFactory#close can throw a concurrent modification exception.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1457294 SOLR-4595 : CachingDirectoryFactory#close can throw a concurrent modification exception.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1458129

        SOLR-4595: Move CHANGES entry.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1458129 SOLR-4595 : Move CHANGES entry.
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1458128

        SOLR-4595: Move CHANGES entry.

        Show
        Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1458128 SOLR-4595 : Move CHANGES entry.
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development