You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hrishikesh Gadre (JIRA)" <ji...@apache.org> on 2016/10/13 18:22:20 UTC

[jira] [Created] (SOLR-9642) Refactor the core level snapshot cleanup mechanism to rely on Lucene

Hrishikesh Gadre created SOLR-9642:
--------------------------------------

             Summary: Refactor the core level snapshot cleanup mechanism to rely on Lucene
                 Key: SOLR-9642
                 URL: https://issues.apache.org/jira/browse/SOLR-9642
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 6.2
            Reporter: Hrishikesh Gadre


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org