Description
What is the problem?
Currently if you lock a document restore will fail if one of your backups includes an item for this document. To work around this users can call restore again with --resume but this requires manual intervention. It would be nice if we could provide some mechanism where the restore may/definitely will complete.
What is the solution?
A few ideas:
- Just skip locked documents
- I think this may be surprising to users. The restore will complete and they may not have all of their documents in the state they expect
- Provide a flag which opts in/out of skipping locked documents
- Retry locked documents
- Historically we handled retries in cbbackupmgr but removed it in favour of the retries in gocbcore. This would require adding it back
- We do have another case (MB-57384) where we would like to retry but gocbcore doesn't
Attachments
Issue Links
- relates to
-
MB-57121 [CBM] Provide a clear error when restore fails due to locked documents
- Closed