Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Clients can currently create shared collections by sending a collection admin command such as
solr/admin/collections?action=CREATE&name=gettingstarted&sharedIndex=true&numShards=1
There are a set of shared storage specific classes such as SharedStorageManager that get initialized on startup when the CoreContainer loads. There are also components that are lazily loaded when shared storage functionality is needed. This was initially written this way because a Solr Cloud cluster could spin up and not used shared collections in which case shared store components wouldn’t need to be loaded. There is also no support for configuring Solr Cloud to use shared storage via config files. Lazy loading leads to some poor code and initialization flow that should be revisited.
This JIRA is for designing the configuration of Solr Cloud to use shared storage and initializing shared storage components based on this.