gerlowskija commented on PR #2470:
URL: https://github.com/apache/solr/pull/2470#issuecomment-2135679557

   > is there an argument that ClusterFileStore should do everything 
DistribFileStore does?
   
   I guess?  Idk about "do everything", but 
ClusterFileStore/ClusterFileStoreApi will eventually _expose everything_ that 
DistribFileStore supports.
   
   And I don't think that's a bad thing - it's an intentional "separation of 
concerns" thing.  "ClusterFileStore"/"ClusterFileStoreApi" define the HTTP 
interface an end-user sees, and some of the API concerns around that.  
"DistribFileStore" is concerned with how we actually implement the "Filestore" 
idea in a SolrCloud context.  In theory, we could rewrite the filestore 
entirely without having to touch the API code, and that's a good thing!
   
   The names are a mess and that definitely needs straightened out, but even in 
the long term IMO each of these classes has a distinct purpose that make them 
worth keeping around.  Totally agree about the other TODOs you mentioned in 
your comment above though - it'd be great if we could migrate all the 
BlobHandler usage onto the filestore.  (Though as you mentioned - those are 
different tickets for sure.)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to