[
https://issues.apache.org/jira/browse/SOLR-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359124#comment-15359124
]
Shalin Shekhar Mangar commented on SOLR-9273:
---------------------------------------------
I discussed this issue with [~noble.paul] in the context of SOLR-7191 and its
sub-task SOLR-7282. Some of the issues that have to be tackled are:
# The <lib> tag in solrconfig.xml and core-specific lib directories make it
almost impossible to share configsets. I see little use of them in SolrCloud
mode. A single lib directory for the entire node along with the ability to load
plugins from the blob store ought to be sufficient for most use-cases.
# If we can get rid the above then we can share SolrResourceLoader across cores
# SimilarityFactory is SolrCoreAware and that is the only plugin specified
inside schema which is so. All the rest are resource loader aware. We cannot
share full schema objects if there is a SolrCoreAware plugin inside it.
# Schema cannot refer to any variables specific to core (such as the core name)
# RuntimeLib Classloader should be moved to ConfigSet from SolrCore
# The ConfigSet Object should be the same (and immutable) across core
load/reload and across cores of same configset
# We may need a new interface -- ConfigSetAware. ConfigSet will hold & provide
(CoreContainer, SolrResourceLoader, IndexSchema, SolrConfig)
> Share and reuse config set in a node
> ------------------------------------
>
> Key: SOLR-9273
> URL: https://issues.apache.org/jira/browse/SOLR-9273
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: config-api, Schema and Analysis, SolrCloud
> Reporter: Shalin Shekhar Mangar
> Fix For: 6.2, master (7.0)
>
>
> Currently, each core in a node ends up creating a completely new instance of
> ConfigSet with its own schema, solrconfig and other properties. This is
> wasteful when you have a lot of replicas in the same node with many of them
> referring to the same config set in Zookeeper.
> There are many issues that need to be addressed for this to work so this is a
> parent issue to track the work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]