Permalink
Commits on Dec 5, 2012
  1. [backport] CCBC-136: do not abort when purging SASL commands

    Change-Id: Ifdf13dd1a21b4bc343bbdab7b68d0e0c2515663b
    Reviewed-on: http://review.couchbase.org/23105
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Dec 5, 2012
Commits on Oct 12, 2012
  1. Update metadata for release 1.0.7

    The shared object will be 1.2.5 and the library version number will 1.0.7
    
    Change-Id: I7d6fd69ae0ec02baca68eaf280e56fc8712c2437
    Reviewed-on: http://review.couchbase.org/21601
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Oct 12, 2012
  2. Extract cbc tool into separate rpm package

    Change-Id: I7449f7e207e093b685480ac57ce3fea8c8929f62
    Reviewed-on: http://review.couchbase.org/21600
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Oct 12, 2012
Commits on Oct 4, 2012
  1. Extract cbc tool into separate deb package

    Change-Id: I24455cfb7f84c52f4e8e3979e712c7dd2af03873
    Reviewed-on: http://review.couchbase.org/21209
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Sep 28, 2012
Commits on Aug 30, 2012
  1. Update metadata for release 1.0.6

    The shared object will be 1.2.4 and the library version number will 1.0.6
    
    Change-Id: Id354ac1febc493ec655892ada5e719c540e36d16
    Reviewed-on: http://review.couchbase.org/20333
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Aug 30, 2012
Commits on Aug 18, 2012
  1. CCBC-92 release ringbuffer in libcouchbase_purge_single_server

    Change-Id: I6a1434a492531ef11811a24039c0a3776ba475cb
    Reviewed-on: http://review.couchbase.org/19828
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Aug 18, 2012
Commits on Aug 14, 2012
  1. Update metadata for release 1.0.5

    The shared object will be 1.2.3 and the library version number will 1.0.5
    
    Change-Id: I72a248a598088021f0a2a3c4a1c46832a9931680
    Reviewed-on: http://review.couchbase.org/19610
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Aug 14, 2012
  2. CCBC-91 Fix switching to backup node in case of server outage

    Change-Id: I49b94db795ef8a5d272d82568766a24609eeaa5e
    Reviewed-on: http://review.couchbase.org/19599
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Aug 14, 2012
  3. CCBC-91 Reset timer for commands with NOT_MY_VBUCKET response

    Change-Id: I14f05a45952360fff8fbeab8dd848f91a4651991
    Reviewed-on: http://review.couchbase.org/19563
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Aug 13, 2012
Commits on Jun 1, 2012
  1. Update metadata for release 1.0.4

    Change-Id: I39fb26207e2caf05878e0ff6b0bb2cf92636b37e
    Reviewed-on: http://review.couchbase.org/16650
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Jun 1, 2012
  2. Implement ringbuffer_update()

    This function allows to update the buffer with given bytearray either at
    READ head or at WRITE. It is useful for updating the "peeked" packets. For
    more details see unit tests.
    
    Change-Id: I2c7f13a3cfd027550b8c072c3d5e3762441b22a9
    Reviewed-on: http://review.couchbase.org/16580
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn May 31, 2012
  3. Fix config test: copy value in get callback

    Change-Id: I6bfd19325410c359d770d586769515c66e40c6d2
    Reviewed-on: http://review.couchbase.org/16645
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Jun 1, 2012
  4. Be more specific about libevent version

    Currently libcouchbase supports libevent >= 1.4
    This means it won't compile on ubuntu 8.04
    
    Change-Id: I1e1b9c9983d6b5d5dcc0afec77f4aee6d20306a5
    Reviewed-on: http://review.couchbase.org/16644
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Jun 1, 2012
  5. Include <sys/type.h> header for libevent check

    Change-Id: Ib81e72d98c0423475b6b64f0edfe122483e3ac57
    Reviewed-on: http://review.couchbase.org/16643
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Jun 1, 2012
Commits on May 31, 2012
  1. Give CouchbaseMock.jar a bit more time to warm up

    Change-Id: Ia52a3143e77b3353d1b06e253aede29e58dc8a64
    Reviewed-on: http://review.couchbase.org/16601
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed May 31, 2012
Commits on May 23, 2012
  1. Do not consume the cookie for incomplete packet

    Change-Id: I6de38a7a757c637a97a458d45df52bdf10c1c76a
    Reviewed-on: http://review.couchbase.org/16350
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 23, 2012
  2. Check return value of libcouchbase_apply_vbucket_config()

    Change-Id: If47504d6dbe3d60ce28fa7e71498ea49e47389ca
    Reviewed-on: http://review.couchbase.org/16132
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Apr 30, 2012
  3. Fix ringbuffer_memcpy()

    Change-Id: I3e34b3eb4bf5edd53f215f421fc88a93ece949ac
    Reviewed-on: http://review.couchbase.org/16348
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 23, 2012
Commits on May 15, 2012
  1. CCBC-62 Check for breakout condition after purging servers

    Change-Id: I4899a923591141d354be2223baa0f882580d2670
    Reviewed-on: http://review.couchbase.org/15966
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 14, 2012
  2. Always use cmd_log for server purge

    Change-Id: Idd0057344030088c6d081bf3104401018e854c86
    Reviewed-on: http://review.couchbase.org/15965
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 14, 2012
  3. [CCBC-65] Memory leak in libcouchbase_create / libcouchbase_destroy

    When the client calls libcouchbase_create and then later calls
    libcouchbase_destroy, some memory is leaked. For a client with many threads
    that open and close couchbase sessions, this will lead to memory exhaustion.
    The leak is caused by the use of strdup() in setup_boostrap_hosts(). These
    duplicated strings are not free'd in libcouchbase_destroy. The leak can be
    seen by using valgrind.
    
    Thanks to James O'Connor
    
    Change-Id: I376d0c767ddb9335feae6d7c28cd2e391209101c
    Reviewed-on: http://review.couchbase.org/16032
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn May 15, 2012
Commits on May 11, 2012
  1. CCBC-64 Send the retry-packet to new server

    Change-Id: I9f4fdf4e8ae07e695d3901fb01fc2bae2e3b025c
    Reviewed-on: http://review.couchbase.org/15882
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr May 10, 2012
  2. [backport] vbucket_found_incorrect_master() returns server index

    Change-Id: Iab8f04fddfead656e0715e54705af7235dec1518
    Reviewed-on: http://review.couchbase.org/15881
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Mar 27, 2012
Commits on May 2, 2012
  1. Update meta for release 1.0.3

    Change-Id: I92c5859264a5c7d6585f29c306e706d5fdb7475f
    Reviewed-on: http://review.couchbase.org/15580
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed May 2, 2012
  2. [backport] Fix ringbuffer_is_continous()

    https://groups.google.com/d/topic/couchbase/YXwbi8KL-nI/discussion
    
    Change-Id: I0965ec70bd2b28e16723da31ae63a3af33416890
    Reviewed-on: http://review.couchbase.org/15504
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Apr 19, 2012
  3. [backport] Pick up cookies from pending buffer unless node connected

    Change-Id: Ifbd01a13400430f461982bad379e9cc576fc878e
    Reviewed-on: http://review.couchbase.org/15503
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Mar 27, 2012
Commits on May 1, 2012
  1. RCBC-33 Fix buffer overflow vulnerability

    Change-Id: I773fc85cea41f82ebca5cafe30f5ea2d3aec0def
    Reviewed-on: http://review.couchbase.org/15500
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed with ingenthr Apr 30, 2012
Commits on Mar 6, 2012
  1. Updated package metadata for 1.0.2 release

    Change-Id: Id3333121aff904c41af5908637bb3bc1dfa35b96
    Reviewed-on: http://review.couchbase.org/13785
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Mar 6, 2012
  2. make reformat

    Change-Id: I0c5b6e23c32fb641c98636377d1fe5032a6620a8
    Reviewed-on: http://review.couchbase.org/13781
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Mar 5, 2012
Commits on Mar 2, 2012
  1. Update library version

    The shared object should be 1.2.0 and the library version number
    should be set to 1.0.2
    
    Change-Id: If3bb7ca0dcf0c6c63a644a7aab824c2b6e66a9b8
    Reviewed-on: http://review.couchbase.org/13747
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
  2. Fix buildbreak on win32

    Change-Id: Ie48ed69ba95a2eb54e2a1fad346423e22eeb7504
    Reviewed-on: http://review.couchbase.org/13749
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
  3. implement PROTOCOL_BINARY_CMD_VERSION

    Change-Id: I4d08b1ea503381913ce5a0d1edc06bdd19e18a57
    Reviewed-on: http://review.couchbase.org/13377
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    mnunberg committed with avsej Feb 20, 2012
  4. Allow use of libcouchbase to pure memcached clusters

    Change-Id: If9152d0783dc86fd879db4549c321ef281714401
    Reviewed-on: http://review.couchbase.org/13746
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Jan Lehnardt <jan@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
  5. Fix compile error in smoke-test (-Wformat-security)

    Change-Id: I5f08c8d582afc6ccd0d1c9026b70d07df249d698
    Reviewed-on: http://review.couchbase.org/13745
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
Commits on Mar 1, 2012
  1. Add astyle rules

    Change-Id: Id596dd3b65f73ba5ad6144ee3b40e2d58d934219
    Reviewed-on: http://review.couchbase.org/13706
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed Mar 1, 2012