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

AddReplicaSuggester endless loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.2, 8.0
    • 7.3, 8.0
    • AutoScaling
    • None

    Description

      SearchRateTrigger events are processed by ComputePlanAction and depending on the condition either a MoveReplicaSuggester or AddReplicaSuggester is selected.

      When AddReplicaSuggester is selected there's currently a bug in master, due to an API change (Hint.COLL_SHARD should be used instead of Hint.COLL). However, after fixing that bug ComputePlanAction goes into an endless loop because the suggester endlessly keeps creating new operations.

      Please see the patch that fixes the Hint.COLL_SHARD issue and modifies the unit test to illustrate this failure.

      Attachments

        1. SOLR-11714.diff
          3 kB
          Andrzej Bialecki
        2. 7.2-disable-search-rate-trigger.diff
          7 kB
          Andrzej Bialecki
        3. SOLR-11714.patch
          36 kB
          Andrzej Bialecki

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              ab Andrzej Bialecki
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: