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

AutoScalingConfig 'Invalid stage name' warnings after upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.7.2, 8.1, 9.0
    • AutoScaling
    • None

    Description

      I noticed WARNings like this in some of our logs:

      ... OverseerAutoScalingTriggerThread ... o.a.s.c.s.c.a.AutoScalingConfig Invalid stage name '.auto_add_replicas.system' in listener config, skipping: {beforeAction=[], afterAction=[], trigger=.auto_add_replicas, stage=[WAITING, STARTED, ABORTED, SUCCEEDED, FAILED, BEFORE_ACTION, AFTER_ACTION], class=org.apache.solr.cloud.autoscaling.SystemLogListener}
      

      After some detective work I think I've tracked this down to 7.1.0 TriggerEventProcessorStage having a WAITING stage and that stage having been removed in 7.2.0 TriggerEventProcessorStage via the SOLR-11320 changes. Haven't tried to reproduce it but my theory is that the listener got auto-created (with the WAITING stage) when the cloud was running pre-7.2.0 code and then after upgrading the warnings start to appear.

      Attachments

        1. SOLR-13366.patch
          2 kB
          Christine Poerschke
        2. SOLR-13366.patch
          2 kB
          Christine Poerschke

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              cpoerschke Christine Poerschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: