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-unsubscr...@solr.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to