gerlowskija opened a new pull request, #5387: URL: https://github.com/apache/solr/pull/5387
https://issues.apache.org/jira/browse/SOLR-18684 # Description Prior to this commit Solr's backup/restore framework had no consistent support for retrying IO errors. This caused lots of problems for users with large indices: a restore or installshard might copy 100s of GB and fail on the very last file due to a single connection-drop. # Solution This commit addresses this problem by adding retry logic at the framework level. Solr will retry certain IOExceptions `solr.backup.maxcopyretries` times (defaults to 2), giving users a bit of protection against tiny network blips failing such long, expensive processes. # Tests See RetryingBackupRepositoryTest. Existing tests continue to pass. # Checklist Please review the following and check all that apply: - [x] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
