You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "janhoy (via GitHub)" <gi...@apache.org> on 2024/03/06 20:17:46 UTC
[I] Support replicaPlacementFactory in solr.xml [solr-operator]
janhoy opened a new issue, #691:
URL: https://github.com/apache/solr-operator/issues/691
With https://issues.apache.org/jira/browse/SOLR-15782 in 9.5, we got support for [configuring placement plugins in solr.xml](https://solr.apache.org/guide/solr/latest/configuration-guide/configuring-solr-xml.html#the-replicaplacementfactory-element):
```xml
<replicaPlacementFactory class="org.apache.solr.cluster.placement.plugins.AffinityPlacementFactory">
<int name="minimalFreeDiskGB">10</int>
<int name="prioritizedFreeDiskGB">200</int>
</replicaPlacementFactory>
```
The operator could support a similar configuration option. Perhaps it can be made generic:
```yaml
replicaPlacementFactory:
class: org.apache.solr.cluster.placement.plugins.AffinityPlacementFactory
config:
minimalFreeDiskGB: 10
prioritizedFreeDiskGB: 200
```
I think we could add support for it before the minimum version is 9.5, since if the user does not configure the feature, nothing will be added to `solr.xml`. This can be documented.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [I] Support replicaPlacementFactory in solr.xml [solr-operator]
Posted by "dsmiley (via GitHub)" <gi...@apache.org>.
dsmiley commented on issue #691:
URL: https://github.com/apache/solr-operator/issues/691#issuecomment-2030176967
"additions" -- not the word that comes to mind; I think of "overlay" or "override". I raised this topic on the dev list for solrconfig.xml in 2021 and also mentioned solr.xml too https://lists.apache.org/thread/nf2vgoqpdl5o718hovvq7xnppcp6j37m
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [I] Support replicaPlacementFactory in solr.xml [solr-operator]
Posted by "HoustonPutman (via GitHub)" <gi...@apache.org>.
HoustonPutman commented on issue #691:
URL: https://github.com/apache/solr-operator/issues/691#issuecomment-2018968284
I really wish that Solr accepted "additions" to the solr.xml. So a user could provide extra settings that would "override" the default solr.xml. That way they wouldn't have to maintain an entire solr.xml just to provide a replicaPlacementFactory.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org