Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9735 Umbrella JIRA for Auto Scaling and Cluster Management in SolrCloud
  3. SOLR-12095

AutoScalingHandler should validate triggers before updating zookeeper

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4, 8.0
    • Component/s: AutoScaling, SolrCloud
    • Labels:
      None

      Description

      We validate policy and preferences before updating the configuration in Zookeeper but we don't do that today for triggers. So users can put wrong or unknown parameters and there won't be any complains from the API but the at runtime exceptions will be thrown/logged.

      We should change the trigger API to have a validation step. The catch here is that it may require us to instantiate the trigger class.

        Attachments

          Activity

            People

            • Assignee:
              ab Andrzej Bialecki
              Reporter:
              shalin Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: