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

Solr replication by Solr (for windows also)



    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.4
    • replication (java)
    • None
    • All


      The current replication strategy in solr involves shell scripts . The following are the drawbacks with the approach

      • It does not work with windows
      • Replication works as a separate piece not integrated with solr.
      • Cannot control replication from solr admin/JMX
      • Each operation requires manual telnet to the host

      Doing the replication in java has the following advantages

      • Platform independence
      • Manual steps can be completely eliminated. Everything can be driven from solrconfig.xml .
        • Adding the url of the master in the slaves should be good enough to enable replication. Other things like frequency of
          snapshoot/snappull can also be configured . All other information can be automatically obtained.
      • Start/stop can be triggered from solr/admin or JMX
      • Can get the status/progress while replication is going on. It can also abort an ongoing replication
      • No need to have a login into the machine
      • From a development perspective, we can unit test it

      This issue can track the implementation of solr replication in java


        1. SOLR-561.patch
          41 kB
          Noble Paul
        2. SOLR-561.patch
          47 kB
          Noble Paul
        3. deletion_policy.patch
          14 kB
          Yonik Seeley
        4. SOLR-561.patch
          79 kB
          Noble Paul
        5. SOLR-561-core.patch
          32 kB
          Noble Paul
        6. SOLR-561.patch
          82 kB
          Noble Paul
        7. SOLR-561.patch
          78 kB
          Noble Paul
        8. SOLR-561.patch
          51 kB
          Shalin Shekhar Mangar
        9. SOLR-561-full.patch
          75 kB
          Shalin Shekhar Mangar
        10. SOLR-561-full.patch
          107 kB
          Akshay K. Ukey
        11. SOLR-561-full.patch
          97 kB
          Akshay K. Ukey
        12. SOLR-561-full.patch
          94 kB
          Akshay K. Ukey
        13. SOLR-561.patch
          171 kB
          Akshay K. Ukey
        14. SOLR-561.patch
          154 kB
          Shalin Shekhar Mangar
        15. SOLR-561.patch
          172 kB
          Akshay K. Ukey
        16. SOLR-561.patch
          170 kB
          Shalin Shekhar Mangar
        17. SOLR-561.patch
          172 kB
          Akshay K. Ukey
        18. SOLR-561.patch
          11 kB
          Noble Paul
        19. SOLR-561.patch
          0.6 kB
          Noble Paul
        20. SOLR-561-fixes.patch
          5 kB
          Yonik Seeley
        21. SOLR-561-fixes.patch
          6 kB
          Yonik Seeley
        22. SOLR-561-fixes.patch
          7 kB
          Yonik Seeley
        23. SOLR-561.patch
          19 kB
          Noble Paul

        Issue Links



              shalin Shalin Shekhar Mangar
              noble.paul Noble Paul
              5 Vote for this issue
              10 Start watching this issue