[
https://issues.apache.org/jira/browse/SOLR-17269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855731#comment-17855731
]
ASF subversion and git services commented on SOLR-17269:
--------------------------------------------------------
Commit 844cde9a4f088f00d108b9c74be967aaf03bdff0 in solr's branch
refs/heads/main from patsonluk
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=844cde9a4f0 ]
SOLR-17269: Do not publish synthetic solr core (of Coordinator node) to ZK
(#2438)
Removed logic that registers the synthetic collection/core on a Coordinator
node to Zookeeper.
This simplifies the code flow and avoids confusion to external tools that
mistakenly recognize the synthetic collection as an actual collection.
This is achieved by the introduction of SyntheticSolrCore which is created by
CoordinatorHttpSolrCall.
SyntheticSolrCore provides a shortcut creation route that bypasses ZK
registration.
> Don't publish synthetic collection to ZK in solr coordinator nodes
> ------------------------------------------------------------------
>
> Key: SOLR-17269
> URL: https://issues.apache.org/jira/browse/SOLR-17269
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Affects Versions: 9.6
> Reporter: Patson Luk
> Priority: Major
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> Coordinator node uses a "synthetic collection/core" (Prefixed with
> `.sys.COORDINATOR-COLL-`) to proxy queries to other data node.
> However, such collection was actually registered to the ZK as well (like a
> normal collection). This could be problematic at times when we have other
> tools that read the cluster status and are mistaken that as a real collection.
> The proposal here is the introduction of a new `SyntheticSolrCore` which
> subclasses `SolrCore`, such core bypasses ZK publish steps of regular core
> (and avoid creating core.properties etc) hence preventing other tools from
> detecting such synthetic collection.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]