Description
Requests
- Make cbtransfer able to cross bucket-type boundaries
- If one is for some reason IMPOSSIBLE, provide better error message that would include the idea of "incompatible" types?
Problem
currently transfer from bucket of couchbase type to bucket of ephemeral type does not work:
[afpetros@cust2cache1 ~]$ /opt/couchbase/bin/cbtransfer -u teligent -p teligent -b MSISDN_TO_GX http://10.16.144.108:8091 http://10.16.144.75:8091
|
2018-06-28 14:04:47,234: mt skipping bucket that is not a couchbase-bucket: GYH
|
2018-06-28 14:04:47,825: mt skipping bucket that is not a couchbase-bucket: CHG
|
2018-06-28 14:04:47,826: mt skipping bucket that is not a couchbase-bucket: GXH
|
2018-06-28 14:04:47,826: mt skipping bucket that is not a couchbase-bucket: GYH
|
2018-06-28 14:04:47,826: mt skipping bucket that is not a couchbase-bucket: MSISDN_TO_GX
|
2018-06-28 14:04:47,826: mt skipping bucket that is not a couchbase-bucket: MSISDN_TO_GY
|
2018-06-28 14:04:47,826: mt skipping bucket that is not a couchbase-bucket: SC.SubscriberCache
|
error: missing bucket-destination: MSISDN_TO_GX at destination: http://10.16.144.75:8091; perhaps your username/password is missing or incorrect
|
giving completely obscure message.
there is bucket at destination.
and password is OK.
When we change destination bucket type (recreate) to 'couchbase' – same cbtransfer works fine:
[afpetros@cust2cache1 shm]$ /opt/couchbase/bin/cbtransfer -u teligent -p teligent -b MSISDN_TO_GX http://10.16.144.108:8091 http://10.16.144.75:8091
|
2018-06-28 14:07:42,276: mt skipping bucket that is not a couchbase-bucket: GYH
|
2018-06-28 14:07:42,727: mt skipping bucket that is not a couchbase-bucket: CHG
|
2018-06-28 14:07:42,727: mt skipping bucket that is not a couchbase-bucket: GXH
|
2018-06-28 14:07:42,727: mt skipping bucket that is not a couchbase-bucket: GYH
|
2018-06-28 14:07:42,727: mt skipping bucket that is not a couchbase-bucket: MSISDN_TO_GY
|
2018-06-28 14:07:42,727: mt skipping bucket that is not a couchbase-bucket: SC.SubscriberCache
|
2018-06-28 14:07:42,727: mt skipping bucket that is not a couchbase-bucket: SPMSCACHE
|
[########### ] 55.1% (2770795/estimated 5032681 msgs)
|
bucket: MSISDN_TO_GX, msgs transferred...
|
: total | last | per sec
|
byte : 4489196225 | 4489196225 | 16570374.3
|
done
|
[afpetros@cust2cache1 shm]$
|
Attachments
Issue Links
- relates to
-
MB-30596 pump_dcp.py, line 608: 'NoneType' object has no attribute 'error'
- Closed