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

Item flag changed after backup and restore from 1954 to 1954

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0
    • 2.0
    • tools
    • Security Level: Public
    • None
    • centos-56

    Description

      I create a default bucket insert 11 items. Then backup from one node and restore to another node. Both are build 1954. I ran the script under the source node path /opt/couchbase/bin

      [chisheng@cen-1716 bin]$ ./cbbackup http://10.5.2.22:8091 ~/backup
      ################### 100.0% (11/11 msgs)
      bucket: default, msgs transferred...
      : total | last | per sec
      batch : 15 | 15 | 104.7
      byte : 44 | 44 | 307.2
      msg : 11 | 11 | 76.8
      done
      [chisheng@cen-1716 bin]$ ./cbrestore ~/backup/ http://10.5.2.23:8091
      ################### 100.0% (11/11 msgs)
      bucket: default, msgs transferred...
      : total | last | per sec
      batch : 1 | 1 | 15.8
      byte : 44 | 44 | 694.5
      msg : 11 | 11 | 173.6
      done

      >>> client = MemcachedClient("10.5.2.22", 11211)
      >>> for i in range(10):
      ... client.set("chisheng%s"%,0,100000+i,"hong")

      >>> client.get("chisheng9")#source
      (100009, 13944249166277618, 'hong')

      >>> client1 = MemcachedClient("10.5.2.23", 11211)
      >>> client1.get("chisheng9")#destination
      (2844131584, 13944249166277618, 'hong')

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            Chisheng Chisheng Hong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty