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

[windows] cbtransfer gives error "could not read _local/vbstate" with couchstore-files as source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.1.0
    • 2.0.1
    • tools
    • Security Level: Public
    • 2.0.1-185-rel
    • PCI Team - Sprint 5, PCI Team - Sprint 7

    Description

      cbtransfer gives error with couchstore-files as source.

      Steps to reproduce

      1. Install 2.0.1-185-rel windows 64bit build
      2. Create default bucket and load 10k items.
      3. Run the cbtransfer command and it gives error:

      C:\Program Files\Couchbase\Server\bin>cbtransfer -v -v -v "couchstore-files://C:
      \Program Files\Couchbase\Server\var\lib\couchbase\data" C:\test -b default
      2013-04-05 13:03:24,772: mt cbtransfer...
      2013-04-05 13:03:24,772: mt source : couchstore-files://C:\Program Files\Couchb
      ase\Server\var\lib\couchbase\data
      2013-04-05 13:03:24,772: mt sink : C:\test
      2013-04-05 13:03:24,772: mt opts : {'username': None, 'source_vbucket_state':
      'active', 'destination_vbucket_state': 'active', 'verbose': 3, 'dry_run': False
      , 'extra':

      {'max_retry': 10.0, 'rehash': 0.0, 'nmv_retry': 1.0, 'cbb_max_mb': 10 0000.0, 'try_xwm': 1.0, 'batch_max_bytes': 400000.0, 'report_full': 2000.0, 'bat ch_max_size': 1000.0, 'report': 5.0, 'recv_min_bytes': 4096.0}

      , 'single_node': F
      alse, 'bucket_destination': None, 'destination_operation': None, 'threads': 4, '
      key': None, 'password': None, 'id': None, 'bucket_source': 'default'}
      2013-04-05 13:03:24,772: mt source_class: <class 'pump_sfd.SFDSource'>

      error: could not read _local/vbstate from: C:\Program Files\Couchbase\Server\var
      \lib\couchbase\data\default\139.couch.1; exception: '_local/vbstate'

      The same error is returned if destination is another couchbase cluster

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty