You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2024/11/22 21:06:00 UTC

[jira] [Resolved] (SOLR-17564) Assign.java is unnecessarily complex because of back-compat fixes

     [ https://issues.apache.org/jira/browse/SOLR-17564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley resolved SOLR-17564.
---------------------------------
    Fix Version/s: main (10.0)
       Resolution: Fixed

Merged.  SolrCloud is getting a little simpler bit by bit.  Thanks Paul!

> 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
>             Fix For: main (10.0)
>
>          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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org