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

Varun Thacker commented on SOLR-6985:
-------------------------------------

bq. Shouldn't the directory factory / directory have a method in its interface 
to indicate if the storage is shared, rather than the end user having to 
specify it in the configuration?

But I could be using MMapDir but the underlying FS is as NFS which can be 
shared. So there is no way a directory can know whether it is shared or not. 



> AutoAddReplicas should support any directory factory backed by a shared 
> filesystem
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-6985
>                 URL: https://issues.apache.org/jira/browse/SOLR-6985
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Varun Thacker
>            Priority: Minor
>         Attachments: SOLR-6985.patch
>
>
> Currently one can only use AutoAddReplicas with HdfsDirectoryFactory. 
> I should also be able to use any directory factory as long as my underlying 
> filesystem is shared. I could be using MMapDirectory factory and have an 
> underlying NFS shared Filesystem.
> We should make the 'isSharedStorage' param configurable in solrconfig. This 
> should be set to true by the user if their underlying FS is shared. Currently 
> 'isSharedStorage' is hardcoded to true for HDFSDir.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to