[ 
https://issues.apache.org/jira/browse/SOLR-17564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17900488#comment-17900488
 ] 

ASF subversion and git services commented on SOLR-17564:
--------------------------------------------------------

Commit 9ae053218b9398fb5335a9b398cc359ceb10c8f7 in solr's branch 
refs/heads/main from pjmcarthur
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=9ae053218b9 ]

SOLR-17564 Assign.java: remove old back-compat logic (#2871)

Remove code in Assign.java that was required for compatibility with collections 
created before 7.0
Assign is part of SolrCloud's replica naming and node assignment logic.

Co-authored-by: pmcarthur-apache <pmcarthur-apa...@proton.me>

> Assign.java is unnecessarily complex because of back-compat fixes
> -----------------------------------------------------------------
>
>                 Key: SOLR-17564
>                 URL: https://issues.apache.org/jira/browse/SOLR-17564
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: main (10.0)
>            Reporter: Paul McArthur
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> SOLR-11011 introduced a significant amount of code in the Assign class to 
> handle backwards compatibility with existing collections and allow upgrades 
> from 6.x to 7.0.
> As long as it is safe to assume that the `counter` node in ZooKeeper to count 
> replicas and create core node names exists for all collections, this code can 
> be removed, leading to significant simplification and easier maintenance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to