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

"cbbackupmgr restore" command creates bucket with incorrect Conflict Resolution property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 7.1.4
    • tools
    • None
    • Untriaged
    • Centos 64-bit
    • 0
    • Unknown
    • Critical

    Description

      Steps to reproduct:

      1. Create a bucket with Timestamp(LWW) based conflict resolution and insert some data.
      2. Backup the bucket with cbbackupmgr backup tool.
      3. Restore the backup data to an alternate bucket using the "cbbackupmgr restore" command. 
      4. Restore fails with an ERROR since the bucket created by the restore command is with sequence no based conflict resolution.

      /opt/couchbase/bin/cbbackupmgr restore -a testLWW -r testLWW  -c 10.14.20.96:8091  -t 16 -u bkpUser -p bkpUser  --map-data testLWW=testLWWRet1  --auto-create-buckets --purge
      Restoring backup '2024-04-16T00_50_53.662163617+05_30'
      Checking for data movement restrictions from bucket 'testLWW' to 'testLWWRet1'                                                                                   0 items / 0B
      [                                                                                                                                                                     ] 0.58%
      Error restoring cluster: The data being transferred uses lww based conflict resolution, but the target bucket `testLWWRet1` uses seqno based conflict resolution
       
       
      | Transfer
      | --------
      | Status | Avg Transfer Rate | Started At                      | Finished At                     | Duration |
      | Failed | 0B/s              | Tue, 16 Apr 2024 00:53:28 +0530 | Tue, 16 Apr 2024 00:53:32 +0530 | 3.168s   | 

      Attachments

        Issue Links

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

          Activity

            People

              Matt.Hall Matt Hall
              niketbagwe niket vilas bagwe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty