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

SolrCloud: Add API to move leader off a Solr instance

    Details

    • Type: New Feature
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7.1
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Common maintenance chores require restarting Solr instances.

      The process of a shutdown becomes a whole lot more reliable if we can proactively move any leadership roles off of the Solr instance we are going to shut down. The leadership election process then runs immediately.

      I am not sure what the semantics should be (either accomplishes the goal but one of these might be best):

      • A call to tell a core to give up leadership (thus the next replica is chosen)
      • A call to specify which core should become the leader

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                RIch Mayfield Rich Mayfield
              • Votes:
                4 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: