Jason Gerlowski created SOLR-18684:
--------------------------------------

             Summary: Retry I/O failures when doing BackupRepository file 
copying
                 Key: SOLR-18684
                 URL: https://issues.apache.org/jira/browse/SOLR-18684
             Project: Solr
          Issue Type: Improvement
          Components: Backup/Restore
    Affects Versions: main(11.0)
            Reporter: Jason Gerlowski


Backup, restore and install-shard operations copy each index file with a single 
call to BackupRepository.copyIndexFileFrom/To (or copyFileFrom/To), with no 
retry in Solr itself. The first failed file cancels the remaining copies and 
fails the whole operation, so one transient error (e.g. a read timeout) on a 
large index means starting over.

Some BackupRepository implementations have retry-logic in place, but it's 
implementation dependent and doesn't cover all scenarios.

We should put some default retry logic in place at the framework level, so that 
BackupRepositories don't need to implement this individually.

(This retry logic becomes much more useful once SOLR-18643 is resolved, so that 
retries actually have a chance of success instead of failing due to orphaned 
files, etc.)



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to