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

Eventing service takes 13s to initialised causing cbbackupmgr restore to fail

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Problem
      Restore fails unexpectedly with {{ error: could not find index node on restore node}} when using --replace-ttl-with

      http://172.23.121.226:8091 --username Administrator  --password password  --start 2019-10-21T22_27_33.36139587-07_00 --end 2019-10-21T22_27_33.36139587-07_00 --no-progress-bar --replace-ttl all --replace-ttl-with 2019-10-21T22:33:26-07:00
      2019-10-21 22:28:27,194 - root - INFO - command executed successfully
      2019-10-21 22:28:27,194 - root - INFO - Error restoring cluster: Service `indexer` is not available on target cluster
      2019-10-21 22:28:27,195 - root - INFO - Restore bucket "default" failed
      2019-10-21 22:28:27,196 - root - INFO - Mutations restored: 0, Mutations failed to restore: 0
      2019-10-21 22:28:27,196 - root - INFO - Deletions restored: 0, Deletions failed to restore: 0
      2019-10-21 22:28:27,197 - root - INFO - Skipped due to purge number or conflict resolution: Muatations: 0 Deletions: 0
      

      Steps to reproduce

      1. Install Couchbase server 6.5.0-4558 on 2 centos 7.7 servers
      2. Backup node initialize with kv,index,n1ql,fts and restore node with kv,index,n1ql,fts,eventing
      3. Create default bucket on both nodes.
      4. Backup node with command:

          
        /opt/couchbase/bin//cbbackupmgr backup --archive /tmp/entbackup_172.23.121.224 --repo backup --cluster http://172.23.121.224:8091 --username Administrator  --password password  --no-progress-bar
        

      5. Then restore to restore node with ttl flag.

         /opt/couchbase/bin//cbbackupmgr restore --archive /tmp/entbackup_172.23.121.224 --repo backup --cluster http://172.23.121.226:8091 --username Administrator  --password password  --start 2019-10-21T22_27_33.36139587-07_00 --end 2019-10-21T22_27_33.36139587-07_00 --no-progress-bar --replace-ttl all --replace-ttl-with 2019-10-21T22:33:26-07:00
        

      Expectation
      ??

      Attachments

        Issue Links

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

          Activity

            People

              thuan Thuan Nguyen
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty