Permalink
Commits on Jun 5, 2012
  1. Update package metadata for release 1.1.0dp5

    The shared object should be 1.4.2 and the library version number should be
    set to 1.1.0dp5
    
    Change-Id: Ie0ea0bc3490d92b2f58e8392523201da85af1d3f
    Reviewed-on: http://review.couchbase.org/16817
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 5, 2012
  2. The library doesn't depend on pthreads

    Change-Id: I116469de68cd545aa226b97942e82eff537435fd
    Reviewed-on: http://review.couchbase.org/16816
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Jun 5, 2012
  3. Implement 'cbc-hash' to match server/vbucket for given key

    Change-Id: I3253e5b2e0249b39c7022cbc98adf470788e62a5
    Reviewed-on: http://review.couchbase.org/16794
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Jun 5, 2012
  4. Update package metadata for release 1.1.0dp4

    The shared object should be 1.4.1 and the library version number should be
    set to 1.1.0dp4
    
    Change-Id: Ib82fc2a813e19f56063e4c67e9a56c74cefb3d84
    Reviewed-on: http://review.couchbase.org/16790
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Jun 5, 2012
  5. strtoull doesn't exist on win32

    Change-Id: I747f2f14883bef777f70c0710c20b461bd123144
    Reviewed-on: http://review.couchbase.org/16789
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Jun 5, 2012
  6. Fix compile warnings due to constness

    Change-Id: I9dca929a7500d2684ea684934d80508aec9e549b
    Reviewed-on: http://review.couchbase.org/16788
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Jun 5, 2012
Commits on Jun 3, 2012
  1. Set email for travis-ci notifications

    Change-Id: I65157a64883f22efa4a5a2ccdf21c88765f1fba5
    Reviewed-on: http://review.couchbase.org/16713
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Jun 3, 2012
  2. Add Travis-CI integration

    Change-Id: I6b332aa04e772fb5d9ccc72ef2ef8254883eeb80
    Reviewed-on: http://review.couchbase.org/16710
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Jan Lehnardt <jan@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Jun 3, 2012
  3. Update package metadata for release 1.1.0dp3

    The shared object should be 1.4.0 and the library version number should be
    set to 1.1.0dp3
    
    Change-Id: Ia752355a1b39f39d4e17bebcb449283d5b0c4eb3
    Reviewed-on: http://review.couchbase.org/16688
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 2, 2012
  4. Reorder changelog entries: RPM requires descending chronological order

    Change-Id: I54263bd00fdb4e90f86e3bb357bd84ae8c0a7653
    Reviewed-on: http://review.couchbase.org/16707
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 3, 2012
  5. Use localhost instead of 127.0.0.1 start_mock.sh

    Change-Id: I71380a9531971d3588c4f5352a36e8b9f3861552
    Reviewed-on: http://review.couchbase.org/16642
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 1, 2012
  6. Allow to customize suffix for .deb package

    The jenkins CI will set this suffix to build number
    
    Change-Id: If2909bb6c5a2f2006c6a0df5000e52051542387a
    Reviewed-on: http://review.couchbase.org/16686
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 2, 2012
  7. Reformat tests

    Change-Id: Iad4d69d6e2c06f732ea588bafb44c4876b5dded1
    Reviewed-on: http://review.couchbase.org/16687
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 2, 2012
  8. Merge branch 'release10'

    * release10:
      Update metadata for release 1.0.4
      Implement ringbuffer_update()
      Fix config test: copy value in get callback
      Be more specific about libevent version
      Include <sys/type.h> header for libevent check
      Give CouchbaseMock.jar a bit more time to warm up
      Do not consume the cookie for incomplete packet
      Check return value of libcouchbase_apply_vbucket_config()
      Fix ringbuffer_memcpy()
      CCBC-62 Check for breakout condition after purging servers
      Always use cmd_log for server purge
      [CCBC-65] Memory leak in libcouchbase_create / libcouchbase_destroy
      CCBC-64 Send the retry-packet to new server
      [backport] vbucket_found_incorrect_master() returns server index
      Update meta for release 1.0.3
      [backport] Fix ringbuffer_is_continous()
      [backport] Pick up cookies from pending buffer unless node connected
      RCBC-33 Fix buffer overflow vulnerability
    
    Conflicts:
    	configure.ac
    	packaging/deb/changelog
    	packaging/rpm/libcouchbase.spec.in
    	src/event.c
    	src/instance.c
    	src/ringbuffer.c
    	src/ringbuffer.h
    	src/server.c
    	tests/ringbuffer-test.c
    
    Change-Id: Iaa7fc7f99d2d574d0a1e394536c80791450e5f49
    avsej committed Jun 3, 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 30, 2012
  1. Update build scripts with new README

    Change-Id: I7777204829f2b89857dac2a9798aab671fc473d6
    Reviewed-on: http://review.couchbase.org/16526
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 30, 2012
  2. Unit tests need gtest headers

    Change-Id: I2b7bfd7b1304ae2694abdea3d8bb3f5d896065e7
    Reviewed-on: http://review.couchbase.org/16525
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 30, 2012
  3. Remove unused variable

    Change-Id: I9d5637930d66cee4a5553e2e522c511f349cb6d5
    Reviewed-on: http://review.couchbase.org/16524
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed May 30, 2012
  4. Implement UNLOCK_KEY (UNL) command

    Change-Id: I627b9dc91517588f430b0d518f80e27ceb6588d2
    Reviewed-on: http://review.couchbase.org/16488
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn May 29, 2012
Commits on May 29, 2012
  1. Implement GET_LOCKED (GETL) command

    Change-Id: Ibc4d569ad8bd575d41c4ed3763f504f3f0afadb5
    Reviewed-on: http://review.couchbase.org/16475
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 29, 2012
  2. hashset.c: iterate over whole set on rehashing

    Change-Id: Ib7bfde0e9060fefa788238e8c5b44c7f19c92a6f
    Reviewed-on: http://review.couchbase.org/16463
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn May 28, 2012
Commits on May 28, 2012
  1. CCBC-69: Use autoreconf instead of invoking each tool myself

    Change-Id: I9feaaf8970ce74b1343f1ecca8fc095f814af282
    Reviewed-on: http://review.couchbase.org/16459
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed May 28, 2012
  2. Destroy couch_requests items when server get destroyed

    Change-Id: I5354e2cb41ba5605063696752b05bbfaed45803a
    Reviewed-on: http://review.couchbase.org/16404
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn May 25, 2012
Commits on May 26, 2012
  1. Reformat sources

    Change-Id: I82f8feee072cceac44263ddcd945af49cc7dfc6e
    Reviewed-on: http://review.couchbase.org/16405
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn May 25, 2012
Commits on May 25, 2012
  1. Do not call couch callbacks for cancelled requests

    Change-Id: Ibbec4112493c40a25e3b9e5ae53d1fd9ab5162ae
    Reviewed-on: http://review.couchbase.org/16359
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn May 24, 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 17, 2012
  1. Update docs for store operation

    Change-Id: I86fe6848bf924dde8d21a829a0de0d13587483e7
    Reviewed-on: http://review.couchbase.org/16149
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr May 17, 2012
Commits on May 16, 2012
  1. CCBC-67: Move tests from standalone programs to gtest

    Change-Id: Ibf96407ebd4d4ff8647cd8c92fa738ff10d19b3c
    Reviewed-on: http://review.couchbase.org/16060
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed May 16, 2012