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

Replication index directories not always cleaned up

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 4.0-BETA, 6.0
    • Labels:
      None
    • Environment:

      Windows Server 2003 R2, Java 6b18

      Description

      We had the same problem as someone described in http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201001.mbox/%3c222A518D-DDF5-4FC8-A02A-74D4F232B339@snooth.com%3e. A partial copy of that message:

      We're using the new replication and it's working pretty well. There's
      one detail I'd like to get some more information about.

      As the replication works, it creates versions of the index in the data
      directory. Originally we had index/, but now there are dated versions
      such as index.20100127044500/, which are the replicated versions.

      Each copy is sized in the vicinity of 65G. With our current hard drive
      it's fine to have two around, but 3 gets a little dicey. Sometimes
      we're finding that the replication doesn't always clean up after
      itself. I would like to understand this better, or to not have this
      happen. It could be a configuration issue.

        Attachments

        1. SOLR-1781.patch
          10 kB
          Mark Miller
        2. SOLR-1781.patch
          3 kB
          Mark Miller
        3. 0001-Replication-does-not-always-clean-up-old-directories.patch
          2 kB
          Terje Sten Bjerkseth

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                terjesb Terje Sten Bjerkseth
              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: