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

NodeAddedTrigger does not support configuration of replica type hint

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.6
    • 8.3, 9.0
    • AutoScaling
    • 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

        Activity

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

          People

            shalin Shalin Shekhar Mangar
            ishaigor Irena Shaigorodsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 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

                Slack

                  Issue deployment