This is an automated email from the ASF dual-hosted git repository.

gerlowskija pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 31d089b1c95 SOLR-18166: Remove last vestiges of 'linkconfig' ZK storage
31d089b1c95 is described below

commit 31d089b1c95a3d5aee2d020975e03412f50d686f
Author: Jason Gerlowski <[email protected]>
AuthorDate: Thu Sep 17 18:44:19 2026 -0400

    SOLR-18166: Remove last vestiges of 'linkconfig' ZK storage
---
 .../org/apache/solr/cloud/api/collections/CollApiCmds.java     | 10 ----------
 1 file changed, 10 deletions(-)

diff --git 
a/solr/core/src/java/org/apache/solr/cloud/api/collections/CollApiCmds.java 
b/solr/core/src/java/org/apache/solr/cloud/api/collections/CollApiCmds.java
index 1b6f083a940..0943ced6f58 100644
--- a/solr/core/src/java/org/apache/solr/cloud/api/collections/CollApiCmds.java
+++ b/solr/core/src/java/org/apache/solr/cloud/api/collections/CollApiCmds.java
@@ -429,16 +429,6 @@ public class CollApiCmds {
       if (configName != null) {
         CollectionHandlingUtils.validateConfigOrThrowSolrException(
             ccc.getCoreContainer().getConfigSetService(), configName);
-
-        // Back-compatibility reason: update configName in old location
-        // TODO in Solr 10 this code should go away
-        String collPath = ZkStateReader.COLLECTIONS_ZKNODE + "/" + 
collectionName;
-        if 
(ccc.getSolrCloudManager().getDistribStateManager().hasData(collPath)) {
-          ccc.getSolrCloudManager()
-              .getDistribStateManager()
-              .setData(
-                  collPath, Utils.toJSON(Map.of(ZkStateReader.CONFIGNAME_PROP, 
configName)), -1);
-        }
       }
       ZkNodeProps m = cloneZkPropsWithOperation(message, MODIFYCOLLECTION);
 

Reply via email to