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

[CBM] Investigate, document and handle the top-end for the number of backups that can be created for cloud

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Critical
    • 7.6.2
    • 7.6.0, 7.6.2
    • tools
    • None
    • 1
    • Tools 2024-Q1

    Description

      What's the issue?
      We're starting to get to the point now, where "listing" the contents of remote archives is becoming a significant performance issue, listing ~2 million items in GCP takes ~20 minutes.

      This is an issue for lots of the workflows in 'cbbackupmgr', for example:

      1) Deleting a directory
      2) Populating the staging directory
      3) Listing the parts for in-progress multipart uploads

      We need to investigate what the top-end we want to support is, document it and potentially add some guards into to stop users from going over the recommended amount.

      What's the fix?
      1) We need to determine how many backups can be created, whilst allowing reasonable listing performance
      2) We should add some guards into 'cbbackupmgr' to detect/error out if too many backups are created
      3) We should improve the backup service to allow it to handle this case by creating a new repository (which limits the scope for objects - except for archive level sub-commands e.g. collect-logs)

      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
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty