Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
9.4
Description
When registering a ConfigurablePlugin through the /cluster/plugin API using the V2Request client, exceptions raised within theĀ void configure(T cfg) method are swallowed in ContainerPluginsApi.
This behavior can be troublesome as the exceptions raised in the configure(...) method are usually validation errors on the configuration to be applied, which are therefore ignored and allow for invalid plugin configuration to become effective.
I proposed a change in apache/solr#2202 to remediate this issue along with a test to illustrate the scenario and validate the fix.