Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 14, 2012
  1. @avsej @ingenthr

    Update metadata for release 1.0.5

    avsej authored ingenthr committed
    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. @avsej @trondn

    CCBC-91 Fix switching to backup node in case of server outage

    avsej authored trondn committed
    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. @avsej @trondn

    CCBC-91 Reset timer for commands with NOT_MY_VBUCKET response

    avsej authored trondn committed
    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. @avsej @ingenthr

    Update metadata for release 1.0.4

    avsej authored ingenthr committed
    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. @avsej @trondn

    Implement ringbuffer_update()

    avsej authored trondn committed
    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. @avsej

    Fix config test: copy value in get callback

    avsej authored
    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. @avsej

    Be more specific about libevent version

    avsej authored
    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. @avsej

    Include <sys/type.h> header for libevent check

    avsej authored
    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. @avsej

    Give CouchbaseMock.jar a bit more time to warm up

    avsej authored
    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. @avsej

    Do not consume the cookie for incomplete packet

    avsej authored
    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. @avsej

    Check return value of libcouchbase_apply_vbucket_config()

    avsej authored
    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. @avsej

    Fix ringbuffer_memcpy()

    avsej authored
    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. @avsej

    CCBC-62 Check for breakout condition after purging servers

    avsej authored
    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. @avsej

    Always use cmd_log for server purge

    avsej authored
    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. @avsej @trondn

    [CCBC-65] Memory leak in libcouchbase_create / libcouchbase_destroy

    avsej authored trondn committed
    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. @avsej @ingenthr

    CCBC-64 Send the retry-packet to new server

    avsej authored ingenthr committed
    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. @avsej @ingenthr

    [backport] vbucket_found_incorrect_master() returns server index

    avsej authored ingenthr committed
    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. @avsej

    Update meta for release 1.0.3

    avsej authored
    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. @avsej

    [backport] Fix ringbuffer_is_continous()

    avsej authored
    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. @avsej

    [backport] Pick up cookies from pending buffer unless node connected

    avsej authored
    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. @avsej @ingenthr

    RCBC-33 Fix buffer overflow vulnerability

    avsej authored ingenthr committed
    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. @avsej @trondn

    Updated package metadata for 1.0.2 release

    avsej authored trondn committed
    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. @avsej @trondn

    make reformat

    avsej authored trondn committed
    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. @trondn

    Update library version

    trondn authored
    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. @trondn

    Fix buildbreak on win32

    trondn authored
    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. @mnunberg @avsej

    implement PROTOCOL_BINARY_CMD_VERSION

    mnunberg authored avsej committed
    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. @trondn

    Allow use of libcouchbase to pure memcached clusters

    trondn authored
    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. @trondn

    Fix compile error in smoke-test (-Wformat-security)

    trondn authored
    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. @trondn

    Add astyle rules

    trondn authored
    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. @avsej @trondn

    debhelper required to build deb packages

    avsej authored trondn committed
    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. @avsej @trondn

    Reduce package dependencies (use internal SASL client)

    avsej authored trondn committed
    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. @avsej @trondn

    Always sign deb packages and allow to pass PGP key

    avsej authored trondn committed
    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. @avsej @trondn

    Rename packaging/{debian,deb}

    avsej authored trondn committed
    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. @trondn

    Bundle the protocol definitions for memcached to make it easier to build

    trondn authored
    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. @mnunberg @avsej

    Refactor connection error handling

    mnunberg authored avsej committed
    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>
Something went wrong with that request. Please try again.