Skip to content
Commits on Nov 21, 2012
  1. @avsej @trondn

    Update metadata for release 2.0.0beta3

    Change-Id: I3bf508265a18c266e5c51cb309b72a328cf4a5f7
    Reviewed-on: http://review.couchbase.org/22709
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 21, 2012
Commits on Nov 20, 2012
  1. @avsej @trondn

    CCBC-104 Fix illegal memory access

    ==19659==  General Protection Fault
    ==19659==    at 0x4E93216: ringbuffer_write (ringbuffer.c:127)
    ==19659==    by 0x4E90ACA: relocate_packets (instance.c:523)
    ==19659==    by 0x4E90E5E: lcb_update_serverlist (instance.c:583)
    ==19659==    by 0x4E91B83: vbucket_stream_handler (instance.c:964)
    ==19659==    by 0x60B7599: event_base_loop (in /usr/lib64/libevent-1.4.so.2.1.3)
    ==19659==    by 0x5EB0320: lcb_io_run_event_loop (plugin-libevent.c:320)
    ==19659==    by 0x4E982B4: lcb_wait (wait.c:112)
    
    Change-Id: I6d8657433665b74ec5700f7665103f346bcfd46b
    Reviewed-on: http://review.couchbase.org/22691
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 21, 2012
  2. @avsej @trondn

    CCBC-104 Reconnect config listener

    Change-Id: If28b6939c025d1d3ceb205930106ef3827515bec
    Reviewed-on: http://review.couchbase.org/22686
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 20, 2012
  3. @avsej @trondn

    libvbucket: read and store thisNode property of node

    Change-Id: I121c03e61bc7bcaef1a9c49b012b938bef8ab32d
    Reviewed-on: http://review.couchbase.org/22685
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 20, 2012
  4. @avsej @trondn

    Use public configuration callback instead of vbucket_listener

    Change-Id: I9254688e5a819b87d1157c8555bcd1336e673283
    Reviewed-on: http://review.couchbase.org/22681
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 20, 2012
  5. @mnunberg @avsej

    Check for EWOULDBLOCK/EINTR on failed send

    Change-Id: I6e3cb166db29bfebf40025137b3bd202e4370e7a
    Reviewed-on: http://review.couchbase.org/22683
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    mnunberg committed with avsej Nov 20, 2012
Commits on Nov 19, 2012
  1. @avsej

    CCBC-107 Port test from http://review.couchbase.org/13667

    Reference: http://review.couchbase.org/#/c/13667/12/tests/smoke-test.c
    Change-Id: Ia2fb0c99dd3759ed56bd9a508e3810bc45388457
    Reviewed-on: http://review.couchbase.org/22585
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    avsej committed Nov 16, 2012
  2. @avsej

    Rewrite config-test.c using gtest framework

    Change-Id: Ib2c27183d1089cadd7134d80e6e6f2ffda0c6c0f
    Reviewed-on: http://review.couchbase.org/22640
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed Nov 19, 2012
  3. @avsej @trondn

    Allow to reset mock connection

    Change-Id: I29a9d1c9031ea6ace501c1fd372f39ee1d71fb13
    Reviewed-on: http://review.couchbase.org/22631
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 19, 2012
  4. @trondn @avsej

    Refactor: move http constants to its own file

    Change-Id: Iaf9655a4329f46928d8321123c8b762d942779db
    Reviewed-on: http://review.couchbase.org/22632
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed with avsej Nov 19, 2012
Commits on Nov 16, 2012
  1. @avsej @trondn

    Allow to use gethrtime() from C++

    Change-Id: I7bf69fd15cb5c994aac27c726aca920a54f0074c
    Reviewed-on: http://review.couchbase.org/22588
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 16, 2012
Commits on Nov 14, 2012
  1. @avsej

    Fix RPM spec: remove extra % sign

    Processing files: libcouchbase-devel-2.0.0beta2-39_g9d18a1a.x86_64
    error: File must begin with "/": %
    
    Change-Id: Iedd72aceaa3d3a568cfa9ba19c48186435dddcb3
    Reviewed-on: http://review.couchbase.org/22540
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Nov 15, 2012
  2. @avsej

    Include .la files in plugin RPMs

    Change-Id: I91b663ec3be529b7766c7cf6c8b5f765d3f222fb
    Reviewed-on: http://review.couchbase.org/22539
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Nov 15, 2012
  3. @avsej @trondn

    Fix using free'd memory (was introduced in 4397181

    Change-Id: I62e886b9381f4dfafc20c4daec78566916a64e32
    Reviewed-on: http://review.couchbase.org/22537
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 14, 2012
  4. @avsej

    Finish removing libtool version from plugins

    Change-Id: Ia22f85b824c78c517e9ae1c4e55d48841ed70c2d
    Reviewed-on: http://review.couchbase.org/22533
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Nov 14, 2012
  5. @avsej @trondn

    Update destructor setup in windows plugin

    Change-Id: Ia079cd32eed64f0a075c8e7c574033ad5d177687
    Reviewed-on: http://review.couchbase.org/22532
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 14, 2012
  6. @trondn

    Check for endianness during configure

    Change-Id: I43c34a9052f626f97832a444d2e2dc447f62ee63
    Reviewed-on: http://review.couchbase.org/22531
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Nov 14, 2012
  7. @avsej @trondn

    Use dynamic versioning for plugins

    Now the plugin could check if it support the given API version. Mark current
    API as zero.
    
    Change-Id: Ic40483e9a4edc0e6a5db38836629b0d2c6840afe
    Reviewed-on: http://review.couchbase.org/22508
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 14, 2012
  8. @avsej @trondn

    Remove libtool version from the plugins

    The plugins are not indended to share between versions. All shipped plugins
    are always bound to API or corresponding libcouchbase version.
    
    Change-Id: I6f1ca1a40414c280bac521be11dafdfeac05d420
    Reviewed-on: http://review.couchbase.org/22507
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 14, 2012
  9. @avsej @trondn

    Allow to use 'cbc-hash' with files

    This patch also reoder output for 'cbc-hash'. Now vbucket and CouchAPI
    endpoint displayed only for vbucket distribution
    
    Change-Id: I9be7464c5af70575aa74cdc1dc55a101d8016a7d
    Reviewed-on: http://review.couchbase.org/22486
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 13, 2012
  10. @avsej @trondn

    CCBC-124 Output replicas properly

    Change-Id: Id016f5b452fa3bcb53a2b7b50a926dc6cad878cf
    Reviewed-on: http://review.couchbase.org/22488
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 13, 2012
Commits on Nov 13, 2012
  1. @avsej

    CCBC-120 Purge stale OBSERVE packets

    Change-Id: If3858c7c6352af080fcf9307785d13a2ab6fa8ab
    Reviewed-on: http://review.couchbase.org/22478
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Nov 13, 2012
  2. @avsej

    CCBC-120 Reformat and refactor lcb_server_purge_implicit_responses()

    * move packet allocation out of GET handler
    * dropping NOOP command shouldn't return error code
    
    Change-Id: Ief278309daf34500cb78f295eb2c6cd7864c8395
    Reviewed-on: http://review.couchbase.org/22475
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed Nov 13, 2012
Commits on Nov 12, 2012
  1. @avsej @trondn

    CCBC-122 Try to switch another server from backup list on timeout

    Change-Id: I039dc7074cb47369cc0b9ead4330c71329966e6e
    Reviewed-on: http://review.couchbase.org/22449
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 12, 2012
  2. @trondn @avsej

    Added CONTRIBUTING.md

    Change-Id: I483aae48975bcb8461b534470d12a2d4508ca135
    Reviewed-on: http://review.couchbase.org/22400
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed with avsej Nov 9, 2012
Commits on Nov 9, 2012
  1. @avsej

    Update binary packages with man files

    Change-Id: I2b29c0706817b8feaa09c30e4846605f31698039
    Reviewed-on: http://review.couchbase.org/22401
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Nov 9, 2012
  2. @trondn

    Include the man pages (and pdfs) in the distribution

    Change-Id: I875d2348fd84e99af39fec844db342261043a93a
    Reviewed-on: http://review.couchbase.org/22396
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Nov 9, 2012
  3. @trondn

    CCBC-119: Allow the user to specify a different hash key

    Change-Id: I104c58dfa9ae3584b6e277952d63256fbb0e16ab
    Reviewed-on: http://review.couchbase.org/22395
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Nov 9, 2012
  4. @trondn

    Create man pages for cbc and cbcrc

    To help our Windows audience we'll provide PDF's for them
    
    Change-Id: I88b48a0cff8eb797ad27d11e2d48ec53f1d14770
    Reviewed-on: http://review.couchbase.org/22264
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Nov 5, 2012
Commits on Nov 8, 2012
  1. @avsej @trondn

    CCBC-118 lcb_error_t member in the http callbacks shouldn't reflect t…

    …he HTTP response code
    
    Change-Id: If208c398e3b30e772d7b64aea86d3c707c2ab69b
    Reviewed-on: http://review.couchbase.org/22351
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 8, 2012
Commits on Nov 7, 2012
  1. @avsej @trondn

    Clarify LCB_DELTA_BADVAL error

    Here are simple steps in ruby (which uses libcouchbase):
    
    irb> Couchbase.bucket.set("foo", "not-a-number")
    4147559595222892544
    irb> Couchbase.bucket.incr("foo")
    Couchbase::Error::DeltaBadval: failed to perform arithmetic operation (key="foo", error=0x03)
            from (irb):2:in `incr'
            from (irb):2
            from /usr/bin/irb:12:in `<main>'
    
    Change-Id: Id4c91657fff74742326d0f4e9123d8e04d23c147
    Reviewed-on: http://review.couchbase.org/22331
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 7, 2012
Commits on Nov 6, 2012
  1. @avsej

    Timer in libev uses double for interval

    http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#code_ev_timer_code_relative_and_opti
    
    Change-Id: If3eceff77a5bed6d05cc3f7045843b4a3dc1dfdc
    Reviewed-on: http://review.couchbase.org/22315
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Nov 6, 2012
  2. @avsej

    CCBC-115 Return zero from do_read_data() if operations_per_call reached

    The operations_per_call limit was introduced to prevent from freezing event
    loop. But in the function variable rv could store two different results and
    in case of reaching this limit it is returning number of the processed
    records, which is wrong. The function should return either zero (success) or
    non-zero (failure).
    
    Change-Id: Ia576739de35eccaa1b7e8c241ba43ad3e29d57a1
    Reviewed-on: http://review.couchbase.org/22310
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Michael Leib <michael_i_leib@yahoo.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Nov 6, 2012
  3. @avsej @trondn

    Check subcommands more strictly

    Change-Id: I48e093a75e898d365138e83f96a40e0f461bdab9
    Reviewed-on: http://review.couchbase.org/22306
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 6, 2012
  4. @avsej @trondn

    Reformat code and reorder .gitignore

    Change-Id: I2b9f919472126424fd0d17e49b956b03d8472546
    Reviewed-on: http://review.couchbase.org/22304
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 6, 2012
Something went wrong with that request. Please try again.