[
https://issues.apache.org/jira/browse/SOLR-11616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901938#comment-16901938
]
Andrian Jardan edited comment on SOLR-11616 at 8/7/19 9:53 AM:
---------------------------------------------------------------
It seems like this issue is back in 7.7.2. We are using the official 7.7.2
container, and we see this during backups sometimes:
Is it a regression, or there's something new ?
{noformat}
"level\":\"ERROR\", \"collection\":\"\", \"shard\":\"\", \"replica\":\"\",
\"core\":\"\", \"location\":\"org.apache.solr.handler.SnapShooter\",
\"message\":\"Exception while creating snapshot\" ,\"stacktrace\":\"
java.nio.file.NoSuchFileException:
/store/data/indexname_shard6_0_replica_n53/data/index.20190729153842861/_vngz.fdt\
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)\
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)\
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)\
java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:178)\
java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)\
java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)\
org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:238)\
org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:181)\
org.apache.lucene.store.Directory.copyFrom(Directory.java:182)\
org.apache.solr.core.backup.repository.LocalFileSystemRepository.copyFileFrom(LocalFileSystemRepository.java:145)\
org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:238)\
org.apache.solr.handler.SnapShooter.lambda$createSnapAsync$2(SnapShooter.java:205)\
java.base/java.lang.Thread.run(Thread.java:834)\
\"}
{noformat}
was (Author: macros):
It seems like this issue is back in 7.7.2. We are using the official 7.7.2
container, and we see this during backups sometimes:
Is it a regression, or there's something new ?
{noformat}
"level\":\"ERROR\", \"collection\":\"\", \"shard\":\"\", \"replica\":\"\",
\"core\":\"\", \"location\":\"org.apache.solr.handler.SnapShooter\",
\"message\":\"Exception while creating snapshot\" ,\"stacktrace\":\"
java.nio.file.NoSuchFileException:
/store/data/indexname_shard6_0_replica_n53/data/index.20190729153842861/_vngz.fdt\
\\tat
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)\
\\tat
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)\
\\tat
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)\
\\tat
java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:178)\
\\tat java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)\
\\tat java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)\
\\tat org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:238)\
\\tat
org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:181)\
\\tat org.apache.lucene.store.Directory.copyFrom(Directory.java:182)\
\\tat
org.apache.solr.core.backup.repository.LocalFileSystemRepository.copyFileFrom(LocalFileSystemRepository.java:145)\
\\tat org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:238)\
\\tat
org.apache.solr.handler.SnapShooter.lambda$createSnapAsync$2(SnapShooter.java:205)\
\\tat java.base/java.lang.Thread.run(Thread.java:834)\
\"}
{noformat}
> 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
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]