[
https://issues.apache.org/jira/browse/SOLR-17953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18131877#comment-18131877
]
ASF subversion and git services commented on SOLR-17953:
--------------------------------------------------------
Commit d9f86bd17e6f3547f7a22e8fc6d33540715f38f1 in solr's branch
refs/heads/branch_10x from sarkaramrit1993
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=d9f86bd17e6 ]
SOLR-17953: Ignore hidden files when locating an incremental backup (10x
backport) (#5197)
> .DS_store directory prevents a localfilesystem RESTORE from working
> -------------------------------------------------------------------
>
> Key: SOLR-17953
> URL: https://issues.apache.org/jira/browse/SOLR-17953
> Project: Solr
> Issue Type: Bug
> Components: Backup/Restore
> Affects Versions: 9.8.1
> Reporter: Eric Pugh
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> I was restoring a directory, and i had previously looked at it in OSX Finder,
> so it had the .DS_store files. Which then caused:
>
> "Operation restore caused
> exception:":"java.nio.file.FileAlreadyExistsException:java.nio.file.FileAlreadyExistsException:
>
> /Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",
> "exception":{
>
> "msg":"/Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",
> "rspCode":-1
>
> Seems like that directory should just be excluded?
>
> I ran
> find . -name ".DS_Store" -delete
> to clean things up. Sigh.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]