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

David Smiley commented on SOLR-15787:
-------------------------------------

FileSystemConfigSetService already exists; you separated it out in SOLR-15258 
in April 2021.  It was partially implemented, essentially only most of the 
read-only aspects and that's it.  This issue is about implementing the rest of 
it (i.e. mutable operations).  What practical effect does this have for those 
not looking at Solr internal details (which is what this abstraction is)?

Based on a bit of spot-checking of internals, I suspect this has no use to a 
Solr standalone user since the [ConfigSet 
API|https://solr.apache.org/guide/solr/latest/configuration-guide/configsets-api.html]
 (which is basically the only caller of those mutable operations) is only 
enabled SolrCloud (that I did check manually).

A SolrCloud user could configure their ConfigSetService in solr.xml to be this 
FileSystemConfigSetService, even before this change (I think).  I think what's 
new is that the ConfigSet API, particularly copying and uploading configs and 
deleting configs would work so long as the file system location held for the 
config is modifiable by Solr.  Of course it wouldn't make sense to do this 
unless maybe a shared file system is in use.  In addition to that API, 
sometimes when Solr creates a collection with an unspecified configSet, it will 
end up copying the default one or some other one using the AUTOCREATED suffix.  
That would have failed but should now work.  I haven't tried it.

> Implement FileSystemConfigSetService
> ------------------------------------
>
>                 Key: SOLR-15787
>                 URL: https://issues.apache.org/jira/browse/SOLR-15787
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Nazerke Seidan
>            Priority: Minor
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> Implement FileSystemConfigSetService to upload/download/delete/list configset 
> to/from local filesystem



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to