Skip to content

SOLR-18381: remove ClusterState.getReplicaNamesPerCollectionOnNode, un-deprecate createFromCollectionMap - #4768

Open
serhiy-bzhezytskyy wants to merge 1 commit into
apache:mainfrom
serhiy-bzhezytskyy:SOLR-18381-un-deprecate-createfromcollectionmap
Open

SOLR-18381: remove ClusterState.getReplicaNamesPerCollectionOnNode, un-deprecate createFromCollectionMap#4768
serhiy-bzhezytskyy wants to merge 1 commit into
apache:mainfrom
serhiy-bzhezytskyy:SOLR-18381-un-deprecate-createfromcollectionmap

Conversation

@serhiy-bzhezytskyy

@serhiy-bzhezytskyy serhiy-bzhezytskyy commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/SOLR-18381

Removes ClusterState.getReplicaNamesPerCollectionOnNode (0 callers left after migrating ZkController/ZkControllerTest to collectionStream() + getReplicasOnNode), and un-deprecates createFromCollectionMap instead of removing it as the title suggests -- it's still called from createFromJson (deprecated, tracked separately in the still-open SOLR-18149) plus two production call sites.

14 tests, 0 failures.

SOLR-18370 (local, not yet a PR) also touches ZkController.java, different region -- re-check once it opens a PR.

AI-assisted (Claude Sonnet 5)

…n-deprecate createFromCollectionMap

getReplicaNamesPerCollectionOnNode had 0 remaining callers after migrating
ZkController/ZkControllerTest to collectionStream() + getReplicasOnNode.

createFromCollectionMap is un-deprecated instead of removed, contrary to the
ticket's title: it's still called from createFromJson (deprecated, tracked
separately in the still-open SOLR-18149) plus two production call sites.

AI-assisted (Claude Sonnet 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant