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

Jan Høydahl commented on SOLR-9268:
-----------------------------------

Ready to move further with this?

Perhaps Solr 8.0 is a good time to get rid of {{solr.xml}} and replace it with 
some {{/clusterconfig.json}} file in ZK? Even if clusterProps now support more 
complex objects as values, I think it makes sense to leave clusterProps alone 
as more generic K/V props, and move all solr.xml stuff into a new config 
modelled after security.json. The file would then look something like e.g.
{code:javascript}
{
  "backup-repos" : [
    { 
      "class" : "solr.S3BackupRepository",
      "bucket" : "s3:/foo",
      "credentials" : { ... }
    },
    {
      "class" : "solr.AzureFilesRepostitory",
      ..
    }
  ],
  "shardHandler" : {"class":"solr.HttpShardHandlerFactory" ...},
  "zookeeper" : { "zkClientTimeout" : ...}
{code}
 

> Support adding/updating backup repository configurations via API
> ----------------------------------------------------------------
>
>                 Key: SOLR-9268
>                 URL: https://issues.apache.org/jira/browse/SOLR-9268
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hrishikesh Gadre
>            Priority: Major
>         Attachments: SOLR-9268.patch
>
>
> Currently users need to manually modify solr.xml in Zookeeper to update the 
> configuration parameters (and restart Solr cluster). This is not quite user 
> friendly. We should provide an API to update this configuration. (This came 
> up during the discussions in SOLR-9242).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to