Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-57689

[CBM] Consider how to allow restores to proceed when documents are locked

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0
    • tools
    • None
    • 0

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              owend Daniel Owen
              Matt.Hall Matt Hall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty