Christoph Kaser created LUCENE-5597:
---------------------------------------

             Summary: HttpReplication currently does not support a tree topology
                 Key: LUCENE-5597
                 URL: https://issues.apache.org/jira/browse/LUCENE-5597
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/replicator
    Affects Versions: 4.7.1
            Reporter: Christoph Kaser
            Priority: Minor


At the moment, it is not possible to have a "tree topology" for replication. 
The reason is that in order to publish a IndexRevision on a non-root, non-leaf 
node, one would need to open an IndexWriter on the index. However, the 
replication directly modifies the index directory without using an IndexWriter, 
so the indexwriter would not see the changes the replication made.

IndexRevision uses the IndexWriter for deleting unused files when the
revision is released, as well as to obtain the SnapshotDeletionPolicy.

In order to implement this,  two things are needed:

* Revision, which doesn't use IndexWriter.
* Replicator which keeps track of how many refs a file has (basically what
IndexFileDeleter does)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to