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

Old files are not removed from slaves after replication

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: replication (java)
    • Labels:
      None

      Description

      The files in the slave's index is not removed even after they are removed from master.
      The temp directories named index.xxxxxxx are not removed after use

      The problem is that when we do a commit on the slave after replication is done. The commit does not re-open the IndexWriter. Therefore, the deletion policy does not take affect and older files are left as is. This can keep on building up. The only solution is to re-open the index writer.

      A user has reported the issue http://markmail.org/thread/yw5n4dk2t5zbt5z5

        Attachments

        1. SOLR-978.patch
          6 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              noble.paul Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: