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

AddReplicaSuggester endless loop

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2, 8.0
    • Fix Version/s: 7.3, 8.0
    • Component/s: AutoScaling
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: