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

Angel edited comment on SOLR-11616 at 8/22/19 5:04 PM:
-------------------------------------------------------

It looks this is back in 8.0.0 as well, and we can't create a backup for our 
main collection, it always file after one or two minutes:

 
{code:java}
// code placeholder
{code}
2019-08-22 16:47:33.300 ERROR (Thread-74) [ ] o.a.s.h.SnapShooter Exception 
while creating snapshot
 java.nio.file.NoSuchFileException: 
/mnt/orcid_data/solr_data/profile/index/_6gne_Lucene50_0.tip
 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) 
~[?:?]
 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?]
 at 
sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:178)
 ~[?:?]
 at java.nio.channels.FileChannel.open(FileChannel.java:292) ~[?:?]
 at java.nio.channels.FileChannel.open(FileChannel.java:345) ~[?:?]
 at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:238) 
~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi 
- 2019-03-08 11:58:55]
 at 
org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:181)
 ~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - 
jimczi - 2019-03-08 11:58:55]
 at org.apache.lucene.store.Directory.copyFrom(Directory.java:182) 
~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi 
- 2019-03-08 11:58:55]
 at 
org.apache.solr.core.backup.repository.LocalFileSystemRepository.copyFileFrom(LocalFileSystemRepository.java:145)
 ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi 
- 2019-03-08 12:06:06]
 at org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:238) 
~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 
2019-03-08 12:06:06]
 at 
org.apache.solr.handler.SnapShooter.lambda$createSnapAsync$2(SnapShooter.java:205)
 [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 
2019-03-08 12:06:06]
 at java.lang.Thread.run(Thread.java:834) [?:?]


was (Author: montenegro):
It looks this is back in 8.0.0 as well, and we can't create a backup for our 
main collection, it always file after one or two minutes:

 

```

2019-08-22 16:47:33.300 ERROR (Thread-74) [ ] o.a.s.h.SnapShooter Exception 
while creating snapshot
java.nio.file.NoSuchFileException: 
/mnt/orcid_data/solr_data/profile/index/_6gne_Lucene50_0.tip
 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) 
~[?:?]
 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?]
 at 
sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:178)
 ~[?:?]
 at java.nio.channels.FileChannel.open(FileChannel.java:292) ~[?:?]
 at java.nio.channels.FileChannel.open(FileChannel.java:345) ~[?:?]
 at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:238) 
~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi 
- 2019-03-08 11:58:55]
 at 
org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:181)
 ~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - 
jimczi - 2019-03-08 11:58:55]
 at org.apache.lucene.store.Directory.copyFrom(Directory.java:182) 
~[lucene-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi 
- 2019-03-08 11:58:55]
 at 
org.apache.solr.core.backup.repository.LocalFileSystemRepository.copyFileFrom(LocalFileSystemRepository.java:145)
 ~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi 
- 2019-03-08 12:06:06]
 at org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:238) 
~[solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 
2019-03-08 12:06:06]
 at 
org.apache.solr.handler.SnapShooter.lambda$createSnapAsync$2(SnapShooter.java:205)
 [solr-core-8.0.0.jar:8.0.0 2ae4746365c1ee72a0047ced7610b2096e438979 - jimczi - 
2019-03-08 12:06:06]
 at java.lang.Thread.run(Thread.java:834) [?:?]

```

> Backup failing on a constantly changing index with NoSuchFileException
> ----------------------------------------------------------------------
>
>                 Key: SOLR-11616
>                 URL: https://issues.apache.org/jira/browse/SOLR-11616
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>            Priority: Major
>             Fix For: 7.2, 8.0
>
>         Attachments: SOLR-11616.patch, SOLR-11616.patch, solr-6.3.log, 
> solr-7.1.log
>
>
> As reported by several users on SOLR-9120 , Solr backups fail with 
> NoSuchFileException on a constantly changing index. 
> Users linked SOLR-9120 to the root cause as the stack trace is the same , but 
> the fix proposed there won't fix backups to stop failing.
> We need to implement a similar fix in {{SnapShooter#createSnapshot}} to fix 
> the problem



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to