Skip to content
Commits on Mar 8, 2013
  1. @bcui6611

    Final revised spec for 2.0 feature support

    - Stick to flush instead of purge
    - Add alert settings
    
    Change-Id: I04b2e56345be4616b5118d8531078f11858ceb3e
    bcui6611 committed Mar 8, 2013
Commits on Mar 2, 2013
  1. @bcui6611

    revise based on feedback

    bcui6611 committed Mar 1, 2013
Commits on Feb 22, 2013
  1. @bcui6611

    Add cbrecovery implementation

    bcui6611 committed Feb 22, 2013
Commits on Jan 31, 2013
  1. @bcui6611

    Merge branch 'branch_2.0.1'

    * branch_2.0.1:
      CBSE-351: Wait for a while before querying bucket status
      CBSE-351: Wait for node ready when create bucket
      CBSE-335: Retry withsocket.error on send()
      CBD-762: fix missing credentials in unit tests
      CBD-672: fix broken flags in unit tests
      MB-7542: Set seq_id to 1 if not set or as zero
      Revert "MB-7515: redirect running msg to stdout"
      CBD-762: fix check_tap_connect
      CBD-762: add missing os and sys imports
      CBD-761: convert t folder to python package
      MB-7515: redirect running msg to stdout
      MB-7265: Add rehash option for cbtransfer
      MB-7341: Check vbucket state before querying kv table
    
    Change-Id: I17560662d324408f5883d1de68be63ab443efd53
    bcui6611 committed Jan 31, 2013
  2. @bcui6611

    CBSE-351: Wait for a while before querying bucket status

    Sometimes bucket is not fully created yet. So "Object Not Found"
    message can be returned if querying bucket status right away.
    
    Change-Id: Ic84068de6bb111484ea8f7c4507985bb5afd9c4b
    Reviewed-on: http://review.couchbase.org/24214
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-on: http://review.couchbase.org/24326
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed Jan 26, 2013
  3. @bcui6611

    CBSE-351: Wait for node ready when create bucket

    When creating a bucket, query all node status for this bucket and
    return when all nodes are healthy, i.e. vbuckets are ready to use
    
    Change-Id: Ie572aacee9d7a4e2e04339c5a94297b86240c403
    Reviewed-on: http://review.couchbase.org/24145
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-on: http://review.couchbase.org/24325
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed Jan 22, 2013
Commits on Jan 24, 2013
  1. @bcui6611

    CBSE-335: Retry withsocket.error on send()

    Need to leverage the outer retry logic when failing to send ack msg
    
    Change-Id: I4ed4b7c1e2b8f4b287e54b492db3ee82da8fb871
    Reviewed-on: http://review.couchbase.org/24173
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    bcui6611 committed Jan 23, 2013
Commits on Jan 19, 2013
  1. @bcui6611

    Merge branch 'branch_2.0.0' into branch_2.0.1

    * branch_2.0.0:
      MB-7542: Set seq_id to 1 if not set or as zero
    
    Change-Id: I84fecefec39ed5526a490a2e8a19a5f053f7fc04
    bcui6611 committed Jan 18, 2013
  2. @bcui6611

    Merge "Merge branch 'branch_2.0.0'"

    bcui6611 committed with Gerrit Code Review Jan 19, 2013
  3. @steveyen @bcui6611

    MB-7316: Check all 1.8.x sqlite files for vbucket_states table

    That is, be sure to check the master sqlite file, not just the *.mb
    shard files.
    
    Also, the states field might be a writable buffer (instead of a
    string), which Python can't use as a dict key.
    
    Change-Id: I477176241f759cb943ea8a52594f640a20e1d84d
    Reviewed-on: http://review.couchbase.org/23022
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-on: http://review.couchbase.org/24042
    steveyen committed with bcui6611 Dec 3, 2012
  4. @bcui6611

    MB-7267: Need to convert flg value to host byte order

    On 1.8.x sqlite files, we save flg as network byte order. When convert
    to couchstore file format, we need to convert flg from network byte order
    to local host byte order.
    
    Change-Id: Ic302000a10d32dc16934126b27c0a9fd7d1d2da0
    Reviewed-on: http://review.couchbase.org/22833
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-on: http://review.couchbase.org/24041
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed Nov 26, 2012
  5. @bcui6611

    Merge branch 'branch_2.0.0'

    * branch_2.0.0:
      MB-7542: Set seq_id to 1 if not set or as zero
      MB-7316: Check all 1.8.x sqlite files for vbucket_states table
      MB-7267: Need to convert flg value to host byte order
    
    Change-Id: I5ff72068dfb07026e6cc528bf467055bcfe8b00f
    bcui6611 committed Jan 18, 2013
Commits on Jan 18, 2013
  1. @pavel-paulau

    CBD-762: fix missing credentials in unit tests

    Change-Id: I8d0e5bfaf645604698d1bead310e7003a9b3651d
    Reviewed-on: http://review.couchbase.org/23951
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    pavel-paulau committed Jan 15, 2013
  2. @pavel-paulau

    CBD-672: fix broken flags in unit tests

    The same issue - f75b10e
    
    Change-Id: I8cf9546a6e5f2efd5fcb598355aaf6b4937ef9df
    Reviewed-on: http://review.couchbase.org/23950
    Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    pavel-paulau committed Jan 15, 2013
Commits on Jan 17, 2013
  1. @bcui6611

    MB-7542: Set seq_id to 1 if not set or as zero

    For offline upgrade or data restore, set seq_id to 1 when it is not set
    or set as zero.
    
    Change-Id: I5ff72068dfb07026e6cc528bf467055bcfe8b00f
    Reviewed-on: http://review.couchbase.org/24003
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-on: http://review.couchbase.org/24034
    bcui6611 committed with Farshid Ghods Jan 16, 2013
  2. @bcui6611

    MB-7542: Set seq_id to 1 if not set or as zero

    For offline upgrade or data restore, set seq_id to 1 when it is not set
    or set as zero.
    
    Change-Id: I5ff72068dfb07026e6cc528bf467055bcfe8b00f
    Reviewed-on: http://review.couchbase.org/24003
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed Jan 16, 2013
  3. @bcui6611

    Revert "MB-7515: redirect running msg to stdout"

    This reverts commit 09bb677.
    STDOUT is reserved for data, such as when exporting to CSV format.
    
    Change-Id: Ief0ce3ead5d8fdeec54540b3a43dd5dc40c571b5
    Reviewed-on: http://review.couchbase.org/23995
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed Jan 16, 2013
Commits on Jan 15, 2013
  1. @pavel-paulau

    CBD-762: fix check_tap_connect

    It's broken since we use couchbase 1.8 in samples.
    See f75b10e for details.
    
    Change-Id: I3f09b2730ae5eb5a264966508bfae9cae1f3495a
    Reviewed-on: http://review.couchbase.org/23915
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
    pavel-paulau committed Jan 14, 2013
  2. @pavel-paulau

    CBD-762: add missing os and sys imports

    Change-Id: Ia6f2b299ef4780f562a696ef2898a1992e985f59
    Reviewed-on: http://review.couchbase.org/23914
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
    pavel-paulau committed Jan 14, 2013
  3. @pavel-paulau

    CBD-761: convert t folder to python package

    also change permissions for pump_test.py (-x) so that it can be
    auto-discovered by nosetests.
    
    Change-Id: I944333e3cb188a022a2e23287bb382c5783fb749
    Reviewed-on: http://review.couchbase.org/23913
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
    pavel-paulau committed Jan 14, 2013
  4. @bcui6611

    MB-7515: redirect running msg to stdout

    Change-Id: I2be51046908e27d61bb8fe21fdc3b15197d782f1
    Reviewed-on: http://review.couchbase.org/23857
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed Jan 10, 2013
Commits on Dec 21, 2012
  1. @bcui6611

    MB-7265: Add rehash option for cbtransfer

    It will recalculate vbucketid based on total vbucket number for the
    following two scenario:
    1. Transfer msg items to http:// or couchbase://
    2. Transfer msg items to couchstore-files://
    
    Change-Id: Ib887e515a8bc05c5193dfddb2d1ffc5c159c30ee
    Reviewed-on: http://review.couchbase.org/23452
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    bcui6611 committed Dec 19, 2012
Commits on Dec 18, 2012
  1. @bcui6611

    MB-7341: Check vbucket state before querying kv table

    In DGM case, sqlite db file is fragmented and it is time consuming
    to even one query to retrieve kv items.
    Based on the fact that all items in one kv table share the same
    vbucket state value, we can decide to skip the whole kv table
    or query it solely based on vbucket id and vbucket state.
    
    Change-Id: If6ec8adf238591fd9f1187e186da78da353a4947
    Reviewed-on: http://review.couchbase.org/23205
    Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed Dec 12, 2012
Commits on Dec 12, 2012
  1. @bcui6611

    Merge branch 'branch_2.0.0' into branch_2.0.1

    * branch_2.0.0:
      MB-7316: Check all 1.8.x sqlite files for vbucket_states table
      MB-7267: Need to convert flg value to host byte order
    
    Change-Id: Ie932c0a530b0d05c97e6bdf7319efbe9def96d44
    bcui6611 committed Dec 12, 2012
Commits on Dec 5, 2012
  1. @steveyen

    MB-7316: Check all 1.8.x sqlite files for vbucket_states table

    That is, be sure to check the master sqlite file, not just the *.mb
    shard files.
    
    Also, the states field might be a writable buffer (instead of a
    string), which Python can't use as a dict key.
    
    Change-Id: I477176241f759cb943ea8a52594f640a20e1d84d
    Reviewed-on: http://review.couchbase.org/23022
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    steveyen committed Dec 3, 2012
Commits on Nov 27, 2012
  1. @bcui6611 @steveyen

    MB-7267: Need to convert flg value to host byte order

    On 1.8.x sqlite files, we save flg as network byte order. When convert
    to couchstore file format, we need to convert flg from network byte order
    to local host byte order.
    
    Change-Id: Ic302000a10d32dc16934126b27c0a9fd7d1d2da0
    Reviewed-on: http://review.couchbase.org/22833
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    bcui6611 committed with steveyen Nov 26, 2012
Commits on Nov 15, 2012
  1. @bcui6611 @steveyen

    MB-7186: update help text for server-add and rebalance

    Notify users to add --server-add-user and --server-add-password
    when using option server-add.
    
    Change-Id: Ic09d496941bfb606a825fd571160919e8ceea650
    Reviewed-on: http://review.couchbase.org/22572
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    bcui6611 committed with steveyen Nov 15, 2012
Commits on Nov 12, 2012
  1. @steveyen

    MB-7148: Need to ntohl item flags in pre-2.0.0 TAP streams.

    Change-Id: Ie484fc4dec24b36aa5eb32cf195176e5e6c3d52a
    Reviewed-on: http://review.couchbase.org/22428
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    steveyen committed Nov 10, 2012
Commits on Nov 6, 2012
  1. @steveyen

    MB-7099: cbtransfer gen: body field should be named body

    Change-Id: I6f898666af90276de10ea6626b937795162120ee
    Reviewed-on: http://review.couchbase.org/22292
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    steveyen committed Nov 5, 2012
Commits on Nov 5, 2012
  1. @bcui6611 @steveyen

    MB-7086: Add bin directory to python path

    Since cbworkloadgen depends on cbtransfer, which in turn depends on
    couchstore and related dlls, it is needed to add bin directory to python
    path in case cbworkloadgen is moved to a different directory.
    
    Change-Id: Id7fac8c07542ba5a0c2b2d5af9130b0a68f9c7a2
    Reviewed-on: http://review.couchbase.org/22272
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    bcui6611 committed with steveyen Nov 5, 2012
Commits on Oct 17, 2012
  1. @pavel-paulau

    MB-6928: import ctypes with fallback

    Fallback steps:
    1. Try to import ctypes from our library
    2. If import fails - remove couchbase library from system path and
    try again.
    3. Exit if it still fails; otherwise return library to system path
    and keep working.
    
    Change-Id: I2e1133bd4f584b0940b3f62d0a39cfd3cfcf85bf
    Reviewed-on: http://review.couchbase.org/21695
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Farshid Ghods <farshid@couchbase.com>
    Tested-by: Farshid Ghods <farshid@couchbase.com>
    pavel-paulau committed with Farshid Ghods Oct 16, 2012
Commits on Oct 15, 2012
  1. @bcui6611

    CBD-603: Parse numeric field as number

    Except id field, we need to parse numeric field value as number
    instead of string
    
    Change-Id: I7e67afc291220472c2af2230bc709b91cf6d4ede
    Reviewed-on: http://review.couchbase.org/21199
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    bcui6611 committed with Peter Wansch Oct 12, 2012
  2. @bcui6611

    MB-6839: Translate localhost to ip address

    For single-node option, we need to find the local node from bucket
    nodemap. As result, we need to translate both 'localhost' and/or
    '127.0.0.1' into public ip address used in ns_server.
    
    Change-Id: I9837085b5c3b2d0ebd6bf1bfa41c16130d1c234e
    Reviewed-on: http://review.couchbase.org/21436
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    bcui6611 committed with Peter Wansch Oct 12, 2012
  3. @bcui6611

    MB-6867:Handle return error as tuple

    Change-Id: I121eb53978dbc2947b88a3cd6b713df053a1b596
    Reviewed-on: http://review.couchbase.org/21620
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    bcui6611 committed with Peter Wansch Oct 12, 2012
Commits on Oct 12, 2012
  1. @bcui6611

    MB-6867: Save generated value for defaultdict

    Instead of just returning value, keep it in dict.
    
    Change-Id: I2a9862503b71f2234a4a450c48998b5f53a951bc
    Reviewed-on: http://review.couchbase.org/21602
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    bcui6611 committed with Peter Wansch Oct 12, 2012
Something went wrong with that request. Please try again.