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

CBrestore doesn't differentiate between JSON Doc and Blob Value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.0-Beta, 3.0
    • 3.0-Beta, 3.0
    • couchbase-bucket, tools
    • Security Level: Public
    • None
    • All operating systems.
    • Untriaged
    • Centos 64-bit
    • Yes
    • June 30 - July 18

    Description

      Found in build:3.0.0-1105, 1112.

      Steps to reproduce:

      • Install the latest build on server
      • Create a default bucket
      • From the UI menu create a document
      • Take a full backup using the cbbackup tool
      • Run cbrestore to restore backed up data

      cbrestore throws error:
      ./cbrestore /tmp/b14 http://172.23.106.71
      2014-08-07 12:16:57,435: s1 error: async operation: error: MCSink MC error: 4 on sink: http://172.23.106.71(default@172.23.106.73:8091)
      error: MCSink MC error: 4

      Bug: cbrestore should be able to restore data.

      cbrestore works fine when data is created using cbworkloadgen. Upon further analysis of the csv file generated from cbbackup we found if 'dtype' field is set = 1 (json data). cbrestore throws error. But if the 'dtype'=0 there is nor error and data is restored.

      It looks like there is issue when the 'dtype' field is set = 1.

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            ashvinder Ashvinder Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty