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

[CBM] Incremental range logic incorrect, range data from latest backup is always used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • tools
    • Untriaged
    • 1
    • Yes
    • Tools 2022-March

    Description

      What's the issue?
      'cbbackpumgr' will only ever resume from the latest backup, if that fails we'll always full backup.

      The issue is cause by an incorrect assignment:

      Broken

      prevBucket, ok := prevBackup.buckets[curBucket.name]
      

      Fixed

      prevBucket, ok = prevBackup.buckets[curBucket.name]
      

      This means we're never iterating backwards, we're only ever testing against the first backup.

      Attachments

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

        Activity

          People

            joe.mitchelljones Joe Mitchell Jones
            james.lee James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty