[
https://issues.apache.org/jira/browse/SOLR-13166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756308#comment-16756308
]
Amrit Sarkar commented on SOLR-13166:
-------------------------------------
Attaching another patch, with all above and ---
support for default limits to be specified in cluster-properties is added and
can be specified as:
*"updateHandler.autoSoftCommit.maxTime.lower.limit"* for floor limit of
*"updateHandler.autoSoftCommit.maxTime"*
I wish to make it generic, with *"upper.limit"* and *"lower.limit"* as
particular suffixes for variant solrconfig.xml parameters.
> Add smart checks for Config and Schema API in Solr to avoid malicious updates
> -----------------------------------------------------------------------------
>
> Key: SOLR-13166
> URL: https://issues.apache.org/jira/browse/SOLR-13166
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: config-api, Schema and Analysis
> Reporter: Amrit Sarkar
> Priority: Major
> Attachments: SOLR-13166.patch, SOLR-13166.patch, SOLR-13166.patch
>
>
> While working with Solr, schema and configuration changes without
> understanding can result in severe node failures, and much effort and time
> get consumed to fix such situations.
> Few such problematic situations can be:
> * Too many fields in the schema
> * Too many commits: too short auto commit
> * Spellchecker, suggester issues. Build suggester index on startup or on
> every commit causes memory pressure and latency issues
> -- Schema mess-ups
> * Text field commented out and Solr refuses to reload core
> * Rename field type for unique key or version field
> * Single-valued to multivalued and vice versa
> * Switching between docvalues on/off
> * Changing text to string type because user wanted to facet on a text field
> The intention is to add a layer above Schema and Config API to have some
> checks and let the end user know the ramifications of the changes he/she
> intends to do.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]