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

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

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

    SOLR-18166: Remove last vestiges of 'linkconfig' ZK storage
    
    (cherry picked from commit 31d089b1c95a3d5aee2d020975e03412f50d686f)
---
 .../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 ab8a8c58e4c..21435d961e1 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
@@ -430,16 +430,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