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

RebalanceLeader and ForceLeader APIs should be part of OverseerCollectionMessageHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      I think RebalanceLeader and ForceLeader API calls should be part of the OverseerCollectionMessageHandler.

      There are two reasons for this -
      1. If the API is implemented within the OverseerCollectionMessageHandler the Overseer provides us with concurrency guarantees i.e two calls against a collection can't be executed simultaneously .
      An example, a delete shard was fired and simultaneously a force leader was fired. Now say the replica which was meant to be deleted became the new leader.
      2. Less important that 1 , but if the API is implemented within the OverseerCollectionMessageHandler , we can provide an async option in these APIs

      Attachments

        1. SOLR-8554.patch
          41 kB
          Varun Thacker

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varun Varun Thacker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: