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

NodeAddedTrigger does not support configuration of replica type hint

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.6
    • Fix Version/s: master (9.0), 8.3
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      The current code org.apache.solr.cloud.autoscaling.ComputePlanAction#getNodeAddedSuggester only sets COLL_SHARD hint, as a result any added replica will be NRT one.

      Our current setup has TLOG nodes on physical hardware and PULL nodes on k8s that are recycled periodically. An attempt to add those will bring the nodes in the cluster as NRT one.

      The root cause is org.apache.solr.client.solrj.cloud.autoscaling.AddReplicaSuggester#tryEachNode that expects to find the hint REPLICATYPE and defaults to NRT one.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shalin Shalin Shekhar Mangar
                Reporter:
                ishaigor Irena Shaigorodsky
              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 20m
                  20m