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: [email protected]
For additional commands, e-mail: [email protected]