Shalin Shekhar Mangar created SOLR-12095:
--------------------------------------------
Summary: AutoScalingHandler should validate triggers before
updating zookeeper
Key: SOLR-12095
URL: https://issues.apache.org/jira/browse/SOLR-12095
Project: Solr
Issue Type: Sub-task
Security Level: Public (Default Security Level. Issues are Public)
Components: AutoScaling, SolrCloud
Reporter: Shalin Shekhar Mangar
Fix For: 7.4, master (8.0)
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]