[ https://issues.apache.org/jira/browse/SOLR-16113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fatih Mehmet ARSLAN updated SOLR-16113: --------------------------------------- Description: method of pathExists that in S3StorageClient is verifying path like a local disk. this method works wrong if our s3 repository is empty. if my local s3 repository is empty while I want to backup to any path, the service throws an exception as follow because my repository does not include an object that has the path of prefix {code:java} org.apache.solr.common.SolrException: specified location s3:///aaa/ does not exist. => org.apache.solr.common.SolrException: specified location s3:///aaa/ does not exist {code} *temporary solution* I used "/" to the location parameter and work it for me. https://gitbox.apache.org/repos/asf?p=solr.git;a=blob;f=solr/modules/s3-repository/src/java/org/apache/solr/s3/S3StorageClient.java;h=34dc20790b0947e83b0f0dc4aa487e67bb572f5c;hb=HEAD#l299 was: method of pathExists that in S3StorageClient is verifying path like a local disk. this method works wrong if our s3 repository is empty. if my local s3 repository is empty while I want to backup to any path, the service throws an exception as follow because my repository does not include an object that has the path of prefix {code:java} org.apache.solr.common.SolrException: specified location s3:///aaa/ does not exist. => org.apache.solr.common.SolrException: specified location s3:///aaa/ does not exist {code} *temporary solution* I used "/" to the location parameter and work it for me. > location path exists method is wrong to s3 > ------------------------------------------ > > Key: SOLR-16113 > URL: https://issues.apache.org/jira/browse/SOLR-16113 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: contrib - S3 Repository > Reporter: Fatih Mehmet ARSLAN > Priority: Major > > method of pathExists that in S3StorageClient is verifying path like a local > disk. this method works wrong if our s3 repository is empty. > if my local s3 repository is empty while I want to backup to any path, the > service throws an exception as follow because my repository does not include > an object that has the path of prefix > {code:java} > org.apache.solr.common.SolrException: specified location s3:///aaa/ does not > exist. => org.apache.solr.common.SolrException: specified location s3:///aaa/ > does not exist {code} > *temporary solution* > I used "/" to the location parameter and work it for me. > > https://gitbox.apache.org/repos/asf?p=solr.git;a=blob;f=solr/modules/s3-repository/src/java/org/apache/solr/s3/S3StorageClient.java;h=34dc20790b0947e83b0f0dc4aa487e67bb572f5c;hb=HEAD#l299 -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org