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

cbbackupmgr failed to run backup when cluster is in rebalance

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Install Couchbase Server 5.0.0-3217 on 3 centos 7.2 servers.
      Add node 225 to node 224
      Rebalacne => ok
      Create default bucket and add 1000 items to default bucket.
      Add node 226 to cluster and remove node 225 out of cluster at the same time (swap rebalance)
      During rebalance, do backup cluster. Got error

      [root@localhost ~]# /opt/couchbase/bin//cbbackupmgr backup -a /tmp/entbackup -r backup --cluster http://172.23.121.224:8091 -u Administrator -p password  --no-progress-bar
      Error backing up cluster: Transfer failed, see log for more details.
      

      In backup logs, see a lot of errors saying "Failed to open KV store ...."

      After rebalance done, do backup again, backup success.

      [root@localhost ~]# /opt/couchbase/bin//cbbackupmgr backup -a /tmp/entbackup -r backup --cluster http://172.23.121.224:8091 -u Administrator -p password  --no-progress-bar --resume
      Backup successfully completed
       
      [root@localhost ~]# /opt/couchbase/bin/cbbackupmgr list -a /tmp/entbackup/ -r backup
       Size      Items          Name
       52.80MB   -              + backup
       52.80MB   -                  + 2017-07-06T09_00_48.491719368-07_00
       52.80MB   -                      + default
       363B      0                          bucket-config.json
       52.80MB   1000                       + data
       52.80MB   1000                           shard_0.fdb
       2B        0                          full-text.json
       194B      0                          gsi.json
       2B        0                          views.json
      

      entbackup.zip is the backup directory that run cbbackupmgr during rebalance
      entbackup_after_rebalance_done.zip is the backup directory that run after rebalance is done.

      Attachments

        Issue Links

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

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty