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

Refactor the core level snapshot cleanup mechanism to rely on Lucene

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.2
    • 6.3
    • None
    • None

    Description

      SOLR-9269 introduced a mechanism to create/delete snapshots for a Solr core (using Lucene IndexDeletionPolicy). The current snapshot cleanup mechanism is based on reference counting the index files shared between multiple segments. Since this mechanism completely skips the Lucene APIs, it is not portable (e.g. it doesn't work on 4.10.3 version).

      I propose an alternative implementation which relies exclusively on Lucene IndexWriter (+ IndexDeletionPolicy) for cleanup.

      Attachments

        Issue Links

          Activity

            People

              yseeley@gmail.com Yonik Seeley
              hgadre Hrishikesh Gadre
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: