Details
Description
1. Add a default bucket to a cluster with 1 node
2. Add item to the cluster and wait till the disk queue is 0
Expectation:
The following should dump the same output
From (memory+disk)
/opt/couchbase/bin/cbtransfer http://10.6.2.144:8091 csv:/tmp/default.15f6a721-c688-11e3-8c97-6003089eed5e.csv -b default -u Administrator -p password --single-node
From (disk)
/opt/couchbase/bin/cbtransfer couchstore-files:///opt/couchbase/var/lib/couchbase/data csv:/tmp/default.16d409e6-c688-11e3-94cc-6003089eed5e.csv -b default -u Administrator -p password
See how the rev ids are different
[root@palm-10307 ~]# cat /tmp/default.15f6a721-c688-11e3-8c97-6003089eed5e.csv
id,flags,expiration,cas,value,rev,vbid
dd,0,0,3271998131903809,"
",49,663
[root@palm-10307 ~]# cat /tmp/default.16d409e6-c688-11e3-94cc-6003089eed5e.csv
id,flags,expiration,cas,value,rev,vbid
dd,0,0,3271998131903809,"
",1,663
[root@palm-10307 ~]#
Strangely for any number of items the rev id difference is 49 and 1 only.
Attachments
For Gerrit Dashboard: MB-10883 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
36024,3 | MB-10883: Dont need to convert rev value | master | couchbase-cli | Status: MERGED | +2 | +1 |
36466,2 | MB-10883: Dont need to pack meta and seqno | master | couchbase-cli | Status: MERGED | +2 | +1 |