Details
-
Bug
-
Resolution: Fixed
-
Test Blocker
-
3.0-Beta, 3.0
-
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.