You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Vincent Primault (Jira)" <ji...@apache.org> on 2023/09/25 17:31:00 UTC
[jira] [Created] (SOLR-16995) Refactor replica types to make it easier to add new ones
Vincent Primault created SOLR-16995:
---------------------------------------
Summary: Refactor replica types to make it easier to add new ones
Key: SOLR-16995
URL: https://issues.apache.org/jira/browse/SOLR-16995
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Vincent Primault
Current replica types are integrated in the code in an ad-hoc manner. Consequently, it is not easy to modify the behaviour of an existing replica type or to add a new one.
I'm working on separating compute from storage (with Ilan and others), and for the purpose of this project we would need to add a new replica type (or _maybe_ to alter the behaviour of existing ones). This is why I would like to propose some iterative refactoring steps to make it possible to do so with less boilerplate.
First PR is around making it easier to work with replica counts, i.e., the number of replicas per replica type. It avoids tracking individually number of replicas of a given type via individual variables.
--
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