Permalink
Commits on Aug 14, 2012
  1. Update metadata for release 1.0.5

    avsej committed with ingenthr Aug 14, 2012
    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>
  2. CCBC-91 Fix switching to backup node in case of server outage

    avsej committed with trondn Aug 14, 2012
    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>
  3. CCBC-91 Reset timer for commands with NOT_MY_VBUCKET response

    avsej committed with trondn Aug 13, 2012
    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>
Commits on Jun 1, 2012
  1. Update metadata for release 1.0.4

    avsej committed with ingenthr Jun 1, 2012
    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>
  2. Implement ringbuffer_update()

    avsej committed with trondn May 31, 2012
    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>
  3. Fix config test: copy value in get callback

    avsej committed Jun 1, 2012
    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>
  4. Be more specific about libevent version

    avsej committed Jun 1, 2012
    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>
  5. Include <sys/type.h> header for libevent check

    avsej committed Jun 1, 2012
    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>
Commits on May 31, 2012
  1. Give CouchbaseMock.jar a bit more time to warm up

    avsej committed May 31, 2012
    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>
Commits on May 23, 2012
  1. Do not consume the cookie for incomplete packet

    avsej committed May 23, 2012
    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>
  2. Check return value of libcouchbase_apply_vbucket_config()

    avsej committed Apr 30, 2012
    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>
  3. Fix ringbuffer_memcpy()

    avsej committed May 23, 2012
    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>
Commits on May 15, 2012
  1. CCBC-62 Check for breakout condition after purging servers

    avsej committed May 14, 2012
    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>
  2. Always use cmd_log for server purge

    avsej committed May 14, 2012
    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>
  3. [CCBC-65] Memory leak in libcouchbase_create / libcouchbase_destroy

    avsej committed with trondn May 15, 2012
    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>
Commits on May 11, 2012
  1. CCBC-64 Send the retry-packet to new server

    avsej committed with ingenthr May 10, 2012
    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>
  2. [backport] vbucket_found_incorrect_master() returns server index

    avsej committed with ingenthr Mar 27, 2012
    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>
Commits on May 2, 2012
  1. Update meta for release 1.0.3

    avsej committed May 2, 2012
    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>
  2. [backport] Fix ringbuffer_is_continous()

    avsej committed Apr 19, 2012
    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>
  3. [backport] Pick up cookies from pending buffer unless node connected

    avsej committed Mar 27, 2012
    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>
Commits on May 1, 2012
  1. RCBC-33 Fix buffer overflow vulnerability

    avsej committed with ingenthr Apr 30, 2012
    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>
Commits on Mar 6, 2012
  1. Updated package metadata for 1.0.2 release

    avsej committed with trondn Mar 6, 2012
    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>
  2. make reformat

    avsej committed with trondn Mar 5, 2012
    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>
Commits on Mar 2, 2012
  1. Update library version

    trondn committed Mar 2, 2012
    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>
  2. Fix buildbreak on win32

    trondn committed Mar 2, 2012
    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>
  3. implement PROTOCOL_BINARY_CMD_VERSION

    mnunberg committed with avsej Feb 20, 2012
    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>
  4. Allow use of libcouchbase to pure memcached clusters

    trondn committed Mar 2, 2012
    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>
  5. Fix compile error in smoke-test (-Wformat-security)

    trondn committed Mar 2, 2012
    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>
Commits on Mar 1, 2012
  1. Add astyle rules

    trondn committed Mar 1, 2012
    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>
Commits on Feb 29, 2012
  1. debhelper required to build deb packages

    avsej committed with trondn Feb 29, 2012
    Change-Id: Ie6b94d65c1a0795ed4607da95c339e7b4824b76a
    Reviewed-on: http://review.couchbase.org/13683
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  2. Reduce package dependencies (use internal SASL client)

    avsej committed with trondn Feb 29, 2012
    Change-Id: Ib37ac3c67417613307b634a09bf653d802af6689
    Reviewed-on: http://review.couchbase.org/13682
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  3. Always sign deb packages and allow to pass PGP key

    avsej committed with trondn Feb 29, 2012
    Change-Id: I3ecc2a629859f3b24ae32ea5456cc22840b663b1
    Reviewed-on: http://review.couchbase.org/13681
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  4. Rename packaging/{debian,deb}

    avsej committed with trondn Feb 29, 2012
    Change-Id: Id49f541ec9f6a37a5cd6b00905d38fd0ebe2938c
    Reviewed-on: http://review.couchbase.org/13680
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Feb 28, 2012
  1. Bundle the protocol definitions for memcached to make it easier to build

    trondn committed Feb 27, 2012
    The protocol headers is used to get the struct definitions and the
    command id's to make it easier to build on most platforms. Those files
    doesn't change that often, and it doesn't really make sense to require
    the user to build and install the memcached server just to get the
    headerfiles to build the client ;-)
    
    I've added the COPYRIGHT file from the memcached project in the same
    directory as the headers.
    
    Change-Id: I73a469704accd333cef7ead7a4a40701a704bd1c
    Reviewed-on: http://review.couchbase.org/13633
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Feb 26, 2012
  1. Refactor connection error handling

    mnunberg committed with avsej Feb 25, 2012
    socket connection error handling refactored, common code from instance
    and server connect functions abstracted. More predictable and sensible
    error reporting.
    
    Errors are classified into more 'high-level' [laugh] concepts related to
    users of libcouchbase and the course of action to be taken.
    
    Change-Id: If9c2ced19780531ea92dfb9ba4a818bded7332a9
    Reviewed-on: http://review.couchbase.org/13614
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>