David Smiley created SOLR-17559:
-----------------------------------
Summary: DocCollection should be fully immutable.
Key: SOLR-17559
URL: https://issues.apache.org/jira/browse/SOLR-17559
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud, SolrJ
Reporter: David Smiley
DocCollection (a collection's SolrCloud state) has a number of accessors that
return mutable data structures. The worst offender is getActiveSlicesArr,
returning an array. To reduce the risk of accidental changes, any state
exposure should be immutable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]