You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Fatih Mehmet ARSLAN (Jira)" <ji...@apache.org> on 2022/03/24 07:46:00 UTC

[jira] [Created] (SOLR-16113) location path exists method is wrong to s3

Fatih Mehmet ARSLAN created SOLR-16113:
------------------------------------------

             Summary: 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


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.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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