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

Difference in Rev id: Disk vs (Disk+Memory) Output for CBTransfer in CSV mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.0
    • 3.0
    • tools
    • Security Level: Public
    • None
    • centos 6, version:: 3.0.0-587
    • Untriaged
    • Unknown

    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,"

      {""click"":""to edit"",""new in 2.0"":""there are no reserved field names""}

      ",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,"

      {""click"":""to edit"",""new in 2.0"":""there are no reserved field names""}

      ",1,663
      [root@palm-10307 ~]#

      Strangely for any number of items the rev id difference is 49 and 1 only.

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            parag Parag Agarwal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty