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

CollectionsAPI call REBALANCELEADERS

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0, 6.0
    • 5.0, 6.0
    • None
    • None

    Description

      Perhaps the final piece of SOLR-6491. Once the preferred leadership roles are assigned, there has to be a command "make it so Mr. Solr". This is something of a placeholder to collect ideas. One wouldn't want to flood the system with hundreds of re-assignments at once. Should this be synchronous or asnych? Should it make the best attempt but not worry about perfection? Should it???

      a collection=name parameter would be required and it would re-elect all the leaders that were on the 'wrong' node

      I'm thinking an optionally allowing one to specify a shard in the case where you wanted to make a very specific change. Note that there's no need to specify a particular replica, since there should be only a single preferredLeader per slice.

      This command would do nothing to any slice that did not have a replica with a preferredLeader role. Likewise it would do nothing if the slice in question already had the leader role assigned to the node with the preferredLeader role.

      Attachments

        1. SOLR-6517.patch
          35 kB
          Erick Erickson
        2. SOLR-6517.patch
          32 kB
          Erick Erickson
        3. SOLR-6517.patch
          33 kB
          Erick Erickson

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            erickerickson Erick Erickson
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment