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

Refactor the core level snapshot cleanup mechanism to rely on Lucene

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: