Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.1.0
-
Untriaged
-
Centos 64-bit
-
1
-
Yes
-
Tools 2022-Jan
Description
Install Couchbase server 6.6.5 on 3 centos 7 servers (124,125 and 126).
Create default bucket.
Load 50 items to cluster.
Do offline upgrade cluster from 6.6.5 to 7.1.0
After cluster finished upgrade to 7.1, add new fresh install node (127) to cluster)
Run cbtransfer with uncompress flag in new node (127) to extract data from database file. Failed to uncompress data.
[root@s44018 ~]# /opt/couchbase/bin/cbtransfer couchstore-files:///opt/couchbase/var/lib/couchbase/data csv:/root/compress1.csv -b default -u Administrator -p xxxxx -x uncompress=1
|
WARN: cbtransfer is deprecated please use cbdatarecovery instead
|
Starting sfd source: couchstore-files:///opt/couchbase/var/lib/couchbase/data
|
.
|
bucket: default, msgs transferred...
|
: total | last | per sec
|
byte : 242 | 242 | 4004.1
|
2022-01-31 12:11:22,582: mt warning: cannot save bucket design on a CSV destination
|
done
|
[root@s44018 ~]# cat compress1_default_N%2FA.csv
|
id,flags,expiration,cas,value,rev,vbid,dtype
|
upgrade4,0,0,1643658631746945024,b'\x80\x04 upgrade4a\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xee\x01\x00\x00E\xfe}\x01\xe6}\x01',b'\x00\x00\x00\x00\x00\x00\x00\x01',611,2
|
upgrade15,0,0,1643658631745306624,b'\x80\x04$upgrade15a\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xaa\x01\x00\x00P\xfel\x01\xfel\x019l',b'\x00\x00\x00\x00\x00\x00\x00\x01',626,2
|
upgrade2,0,0,1643658631745175552,b'\x80\x04 upgrade2a\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xc2\x01\x00\x00W\xfe\xf2\x00\xfe\xf2\x00\xfe\xf2\x00\xc2\xf2\x00N\x01\x00',b'\x00\x00\x00\x00\x00\x00\x00\x01',768,2
|
upgrade13,0,0,1643658631754350592,b'\x80\x040upgrade13aaLa\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xca\x01\x00',b'\x00\x00\x00\x00\x00\x00\x00\x01',785,2
|
upgrade19,0,0,1643658631743733760,b'\x80\x04$upgrade19a\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\x96\x01\x00\x00P\xfe\xe7\x00\xfe\xe7\x00\xfe\xe7\x00\x96\xe7\x00\xa2\x01\x00',b'\x00\x00\x00\x00\x00\x00\x00\x01',964,2
|
upgrade8,0,0,1643658631748517888,b'\x80\x04 upgrade8a\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xfe\x01\x00\xce\x01\x00\x00B\xfeu\x01\xeeu\x01)u',b'\x00\x00\x00\x00\x00\x00\x00\x01',981,2
|
[root@s44018 ~]#
|
cbtransfer runs from offline upgrade node
[root@s44017 ~]# /opt/couchbase/bin/cbtransfer couchstore-files:///opt/couchbase/var/lib/couchbase/data csv:/root/compress1.csv -b default -u Administrator -p xxxxx -x uncompress=1
|
WARN: cbtransfer is deprecated please use cbdatarecovery instead
|
Starting sfd source: couchstore-files:///opt/couchbase/var/lib/couchbase/data
|
.
|
bucket: default, msgs transferred...
|
: total | last | per sec
|
byte : 2048 | 2048 | 33919.7
|
2022-01-31 12:10:49,593: mt warning: cannot save bucket design on a CSV destination
|
done
|
[root@s44017 ~]# cat compress1_default_N%2FA.csv
|
id,flags,expiration,cas,value,rev,vbid,dtype
|
upgrade0,0,0,1643658631741964288,b'upgrade0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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dashboard: MB-50703 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
169894,5 | MB-50703 Correctly check for compression in sinks | master | couchbase-cli | Status: MERGED | +2 | +1 |