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

cbbackupmgr restore: fails with --enable-bucket-config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Morpheus
    • 5.0.0, 5.0.1, 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 5.5.6, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.5.1, 6.6.0, 6.6.1, 6.5.0
    • tools
    • 1 node cluster running Server Version: 6.6.1-9213
    • Untriaged
    • 1
    • No

    Description

      Couchbase Version: 6.6.1-9213

      Scenario:

      1. Took backup of sample bucket beer-sample , Item Count: 7303.
      2. Edited the bucket settings, enabling flush + changing evictionPolicy from valueOnly to full,
      3. Flushed the bucket,
      4. restored the backup with --enable-bucket-config flag,
      5. Flush was disabled + evictionPolicy changed back to valueOnly,Item Count of the bucket after restore: 2390

      Expected Behaviour:

      1. All Items are restored successfully. 
      2. Failed Mutations count displays actual number of failures if any.

      Observed Behaviour

      1. All items were not restored leading to data loss.
      2. The failed Mutations count is not correct.

      Error:  Error restoring cluster: EOF

      cbbackupmgr logs had the following message in the log file:

      2021-03-30T03:20:18.146-07:00 WARN: (Pool) (beer-sample) Failed to send document with key '<ud>harmon_brewing_company-brown_s_point_esb</ud>' because of an unexpected EOF -- couchbase.(*MemcachedWorker).processOperation() at pool_worker.go:350
      2021-03-30T03:20:18.146-07:00 WARN: (Pool) (beer-sample) Failed to send document with key '<ud>southend_brewery_and_smokehouse_charleston-frostbite</ud>' because of an unexpected EOF -- couchbase.(*MemcachedWorker).processOperation() at pool_worker.go:350
      2021-03-30T03:20:18.150-07:00 ERRO: (Scanworker) (vb 875) Failed to perform 'FullFileScan': failed to perform full scan: failed to perform full scan on chunk 0 for vBucket 875: mutation callback failed: EOF | {"bucket":"beer-sample","last_dispatched_to":"172.23.104.106:11210","last_dispatched_from":"172.23.104.106:50527","last_connection_id":"f314e562541286a2/38522d6c9b17eda2"} -- archive.scanWorker.func1() at source.go:326
      2021-03-30T03:20:18.150-07:00 (Stats) Stopping stat collection
      2021-03-30T03:20:18.151-07:00 WARN: (Pool) (beer-sample) Failed to send document with key '<ud>titletown_brewing-boxcar_brown_ale</ud>' because of an unexpected EOF -- couchbase.(*MemcachedWorker).processOperation() at pool_worker.go:350
      2021-03-30T03:20:18.162-07:00 (Cmd) Error restoring cluster: failed to execute cluster operations: failed to execute bucket operations: failed to transfer bucket data for bucket 'beer-sample': failed to transfer key value data: failed to transfer key value data: failed to perform full scan: failed to perform full scan on chunk 0 for vBucket 875: mutation callback failed: EOF | {"bucket":"beer-sample","last_dispatched_to":"172.23.104.106:11210","last_dispatched_from":"172.23.104.106:50527","last_connection_id":"f314e562541286a2/38522d6c9b17eda2"} 

      Logs attached + Screenshot of cbbackupmgr commands executed.

      Attachments

        Issue Links

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

          Activity

            People

              james.lee James Lee
              prateek.kumar Prateek Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty