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

REPLACENODE does not check that target node is different from source node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.3, 8.0
    • 8.11.1
    • SolrCloud
    • None

    Description

      As of SOLR-11067, the REPLACENODE API is able to select a new node for you if you do not provide one yourself, via the target parameter.

      However, there is nothing done to guarantee that the new node selected for you is different from the original node. It looks like hossman made this observation in the original JIRA, but I'm not sure any fixes were made.

      I propose, similarly to hossman did, that the API should also throw an error in case there is no other live node to send the replicas to.

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m