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

'sticky' replica affinity support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Creating this ticket as both similar to and different from the SOLR-6730 select?replicaAffinity=(node|host) and replicaAffinity.hostPriorities support ticket.

      copy/paste-ing a potential approach from the https://issues.apache.org/jira/browse/SOLR-6730?focusedCommentId=15583110&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15583110 update:

      • Two numeric parameters ('seed' and 'mod') are optionally added to each request.
      • The two parameters 'place' the requests within the cloud, e.g. for mod=9 any seed between 0 and 8 would be valid and seed=6 would 'place' the request with the 7th of 9 replicas, or more realistically the 3rd of 3 replicas.
      • seed-plus-mod placement automatically adjusts when the number of replicas changes i.e. (seed=2,mod=6) would be 3rd-of-6 or 2nd-of-4 or 2nd-of-3 or 1st-of-2 placement.

      selected code areas of interest:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cpoerschke Christine Poerschke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: