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

Enabling bi-directional CDCR on cluster for better failover

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.2
    • CDCR
    • None

    Description

      The latest version of Solr CDCR across collections / clusters is in active-passive format, where we can index into source collection and the updates gets forwarded to the passive one and vice-versa is not supported.

      https://lucene.apache.org/solr/guide/6_6/cross-data-center-replication-cdcr.html
      https://issues.apache.org/jira/browse/SOLR-6273

      We are try to get a design ready to index in both collections and the updates gets reflected across the collections in real-time (given the backlog of replicating updates to other data center). ClusterACollectionA => ClusterBCollectionB | ClusterBCollectionB => ClusterACollectionA.

      The STRONG RECOMMENDED way to keep indexing in ClusterACollectionA which forwards the updates to ClusterBCollectionB. If ClusterACollectionA gets down, we point the indexer and searcher application to ClusterBCollectionB. Once ClusterACollectionA is up, depending on updates count, they will be bootstrapped or forwarded to ClusterACollectionA from ClusterBCollectionB and keep indexing on the ClusterBCollectionB.

      Attachments

        1. sample-configs.zip
          156 kB
          Amrit Sarkar
        2. SOLR-11003.patch
          35 kB
          Amrit Sarkar
        3. SOLR-11003-tlogutils.patch
          44 kB
          Amrit Sarkar
        4. SOLR-11003.patch
          44 kB
          Amrit Sarkar
        5. SOLR-11003.patch
          44 kB
          Amrit Sarkar
        6. SOLR-11003.patch
          44 kB
          Amrit Sarkar
        7. SOLR-11003.patch
          44 kB
          Amrit Sarkar
        8. SOLR-11003.patch
          35 kB
          Amrit Sarkar
        9. SOLR-11003.patch
          51 kB
          Amrit Sarkar
        10. SOLR-11003.patch
          52 kB
          Amrit Sarkar
        11. SOLR-11003.patch
          51 kB
          Varun Thacker
        12. SOLR-11003.patch
          52 kB
          Varun Thacker
        13. SOLR-11003.patch
          54 kB
          Amrit Sarkar
        14. SOLR-11003.patch
          54 kB
          Amrit Sarkar
        15. SOLR-11003.patch
          52 kB
          Varun Thacker

        Issue Links

          Activity

            People

              varun Varun Thacker
              sarkaramrit2@gmail.com Amrit Sarkar
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: