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

cbtransfer couchbase->ephemeral does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • 6.5.0
    • 5.0.1
    • tools
    • None
    • Triaged
    • Unknown

    Description

      Requests

      1. Make cbtransfer able to cross bucket-type boundaries
      2. 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

          Activity

            People

              pvarley Patrick Varley (Inactive)
              paf Alexander Petrossian (PAF)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty