Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5597

HttpReplication currently does not support a tree topology

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.7.1
    • None
    • modules/replicator
    • None
    • New

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            christophk Christoph Kaser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: