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

Make it possible to co-locate replicas of multiple collections together in a node

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • AutoScaling, SolrCloud
    • None

    Description

      It is necessary to co-locate replicas of different collection together in a node when cross-collection joins are performed.

      while creating a collection specify the parameter withCollection=other-collection-name . This ensure that Solr always ensure that atleast one replica of other-collection is present with this collection replicas
      This requires changing create collection, create shard and add replica APIs as well because we want a replica of collection A to be created first before a replica of collection B is created so that join queries etc are always possible.

      Some caveats to this implementation:

      1. The other-collection should only have a single shard named "shard1"
      2. Any replica of other-collection created by this feature will be of NRT type

      Removing the above caveats can be a goal of other issues.

      Attachments

        1. SOLR-11990.patch
          104 kB
          Noble Paul
        2. SOLR-11990.patch
          98 kB
          Shalin Shekhar Mangar
        3. SOLR-11990.patch
          52 kB
          Shalin Shekhar Mangar
        4. SOLR-11990.patch
          63 kB
          Shalin Shekhar Mangar
        5. SOLR-11990.patch
          37 kB
          Shalin Shekhar Mangar
        6. SOLR-11990.patch
          22 kB
          Shalin Shekhar Mangar
        7. SOLR-11990.patch
          22 kB
          Shalin Shekhar Mangar
        8. SOLR-11990-fix.patch
          9 kB
          Shalin Shekhar Mangar
        9. SOLR-11990-TestWithCollection-testDeleteWithCollection-fixes.patch
          5 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: