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

Solr replication by Solr (for windows also)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: replication (java)
    • Labels:
    • Environment:



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

        Issue Links



            • Assignee:
              shalin Shalin Shekhar Mangar
              noble.paul Noble Paul


              • Created:

                Issue deployment