Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 23, 2015
  1. @mnunberg

    n1ql: Remove 'scanvec' and undefined function

    mnunberg authored mnunberg committed
    We'll use lcb_SYNCTOKEN instead which contains the exact same fields.
    
    Change-Id: Ic1659e6fc3a906c99c67267a2935d48ffcfa4229
    Reviewed-on: http://review.couchbase.org/49913
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on Apr 14, 2015
  1. @mnunberg

    Update release metadata for 2.4.9

    mnunberg authored mnunberg committed
    Change-Id: I9a3f369650a6a76d61f56749860e169dc67861f9
    Reviewed-on: http://review.couchbase.org/49668
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  2. @mnunberg

    Regenerate manpages (after changing/adding some cbc options)

    mnunberg authored mnunberg committed
    Change-Id: If2d68e572a110ed89b01bf33b9026751fd47a4d0
    Reviewed-on: http://review.couchbase.org/49635
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>
  3. @mnunberg

    Log exact server error code reply for sasl failure

    mnunberg authored mnunberg committed
    Change-Id: I2554684cf4e4d0a1b05d5897915f0034f2bce1b7
    Reviewed-on: http://review.couchbase.org/49634
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  4. @mnunberg

    cbc n1ql: Don't try to reformat row

    mnunberg authored mnunberg committed
    I tried this on a large row. It was very ugly.
    
    This also dumps the actual endoed query for now
    
    Change-Id: I81bf1b255fc6ef6e1e353ff11040c0040969048d
    Reviewed-on: http://review.couchbase.org/49633
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  5. @mnunberg

    CCBC-592: Remove '-t' shorthand timeout option

    mnunberg authored mnunberg committed
    This is used for pillowfight
    
    Change-Id: I3ff30318bfc6ae4503168e584cf03f5272206baa
    Reviewed-on: http://review.couchbase.org/49188
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  6. @mnunberg

    Don't advertise -J flag for cbc create

    mnunberg authored mnunberg committed
    This is a remnant of the datatype support that never was.
    
    Change-Id: I2636c4e7eb91598e8c9b1e1fc5c6927bbdf5e889
    Reviewed-on: http://review.couchbase.org/49189
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  7. @mnunberg

    Hide less-common options

    mnunberg authored mnunberg committed
    These can now be specified via -D
    
    Change-Id: I1ed3640c8d56f155e6e9cc257f69daf9fe3230f8
    Reviewed-on: http://review.couchbase.org/49187
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Commits on Apr 9, 2015
  1. @mnunberg

    Provide -D syntax in environment for connection string

    mnunberg authored mnunberg committed
    This allows to add arbitrary options to the connection string without
    having a long connection string, which is typically unsightly on the
    command line.
    
    Change-Id: I8885f6b9d92c618bd906fefd30d9fe8431ec2695
    Reviewed-on: http://review.couchbase.org/48721
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Commits on Apr 8, 2015
  1. @mnunberg

    Add pseudo callback types for n1ql and views

    mnunberg authored mnunberg committed
    This allows code to distinguish callbacks by their codes and allow
    greater code reuse.
    
    Change-Id: I43e56218a69c9d01004a19d874bfda8603f5ab26
    Reviewed-on: http://review.couchbase.org/49380
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  2. @mnunberg

    Make cb flush use new lcb_cbflush3

    mnunberg authored mnunberg committed
    Change-Id: I0d289d0f5ccf1a4114ff96c0f856b3ac09e18dbf
    Reviewed-on: http://review.couchbase.org/49059
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: buildbot <build@couchbase.com>
  3. @mnunberg

    Document lcb_RESPHTTP

    mnunberg authored mnunberg committed
    Change-Id: Ia09a34d1024d96812d45b63b50f3c21adcb01743
    Reviewed-on: http://review.couchbase.org/49379
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  4. @mnunberg

    Document some more view response fields

    mnunberg authored mnunberg committed
    Unfortunately Doxygen doesn't want to expand LCB_RESP_BASE here
    
    Change-Id: Ice4d8a929c3b071770c062c51dae822bbb8a350e
    Reviewed-on: http://review.couchbase.org/49378
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  5. @mnunberg

    Don't crash on missing cbflush callback

    mnunberg authored mnunberg committed
    Change-Id: I5d528596f70ca18a2d0365702e6ec7bf34a7a208
    Reviewed-on: http://review.couchbase.org/49106
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  6. @mnunberg

    http: only assign request handle if successful

    mnunberg authored mnunberg committed
    Change-Id: I71a597ac374cb6669cb0146c5ff6ee095d3fbe53
    Reviewed-on: http://review.couchbase.org/49267
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  7. @mnunberg

    expose synctoken to v2 callbacks

    mnunberg authored mnunberg committed
    Change-Id: Id2f48fbf47fc37e20fae3ed61a23fdc8dc3a664d
    Reviewed-on: http://review.couchbase.org/49060
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  8. @mnunberg

    Yet more libuv errno defines

    mnunberg authored mnunberg committed
    (Working on getting this resolved upstream somehow...)
    
    Change-Id: I0ba20c64fde0e81a4ac56071d005da50e0d0dfc8
    Reviewed-on: http://review.couchbase.org/49320
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  9. @mnunberg

    Randomize http nodes if requested

    mnunberg authored mnunberg committed
    We weren't doing this before even if randomize was true
    
    Change-Id: Id085aa7e658013eba476f02d044cbc0e6e3a08d5
    Reviewed-on: http://review.couchbase.org/49123
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Commits on Apr 7, 2015
  1. @mnunberg

    CCBC-599: Allow couchbase://host:8091

    mnunberg authored mnunberg committed
    This is an erroneous form, but apparently common.
    
    Change-Id: Ief03f7805188898daa063306b7b20229219cd312
    Reviewed-on: http://review.couchbase.org/49233
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  2. @mnunberg

    cntl: Alias 'timeout' with 'operation_timeout'

    mnunberg authored mnunberg committed
    Change-Id: I7e94e37c3e0bd942a6a0ea84c03bda48ebdfbc84
    Reviewed-on: http://review.couchbase.org/49121
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  3. @mnunberg

    Improved randomization for hostlist_randomize

    mnunberg authored mnunberg committed
    This adds an improve random generator suitable for fisher-yates
    randomization that attempts to provide a more even distribution.
    
    Additionally, the srand() call in the library has been removed, as this
    is considered bad practice.
    
    Change-Id: I4ce3ccc65eb065a4b726ad15d31089f543ac9dc7
    Reviewed-on: http://review.couchbase.org/49122
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Commits on Apr 2, 2015
  1. @mnunberg

    Add lcb_version_g extern for version number

    mnunberg authored mnunberg committed
    This provides a less cumbersome way to check for the runtime version of
    the library.
    
    Change-Id: I096d5feeed9ae5174df478a187dbaaa99beaf8a6
    Reviewed-on: http://review.couchbase.org/46477
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
  2. @mnunberg

    Retry connection on timeout if readj_ts_wait is on

    mnunberg authored mnunberg committed
    Here we ignore the actual connection timeout, and simply retry based on
    the packet's own timestamps.
    
    Change-Id: If63dfe465669bc5fed8ed3cc821af8851c288bbd
    Reviewed-on: http://review.couchbase.org/49061
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Commits on Apr 1, 2015
  1. @mnunberg

    [OBSEQ] Add DCP/Sequence number-based observe functionality

    mnunberg authored mnunberg committed
    This allows more reliable observe operations using sequence numbers
    which are monotonic, rather than CAS-based which are sometimes
    ambiguous.
    
    If the user enables fetching the extra sequence number information from
    memcached itself, the library will attempt to transparently use this new
    functionality.
    
    Change-Id: Iee217ea9ab1fc760e97ee82c0ada44cbcd40a70a
    Reviewed-on: http://review.couchbase.org/46475
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
Commits on Mar 30, 2015
  1. @mnunberg

    CCBC-595: Add 'cbc n1ql' subcommand

    mnunberg authored mnunberg committed
    Change-Id: I510cd382a459c527626a8ffdaae0e866e74c3859
    Reviewed-on: http://review.couchbase.org/48753
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  2. @mnunberg

    CCBC-597: Timeouts in connection string are always seconds

    mnunberg authored mnunberg committed
    Change-Id: I8607d98668de846c5dcf1af57a3f69c76ea107c1
    Reviewed-on: http://review.couchbase.org/48752
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  3. @mnunberg

    Add an option to reset timeouts when lcb_wait() is called.

    mnunberg authored mnunberg committed
    Change-Id: I4c297266efdd275bd6393f83ad87d3707b7f5714
    Reviewed-on: http://review.couchbase.org/48722
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  4. @mnunberg

    Disable Nagle's algorithm by default

    mnunberg authored mnunberg committed
    As demonstrated in the other client libraries, Nagle's algorithm is
    really only useful when dealing with non-buffering code (in which case
    Nagle will buffer the packets for you). Otherwise it just has the
    potential to increase latency for scenarios where the packet is
    genuinely small.
    
    Change-Id: I51907287d74d07303811b9d007f1b43e051c55f0
    Reviewed-on: http://review.couchbase.org/48515
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  5. @mnunberg

    Update cliopts

    mnunberg authored mnunberg committed
    This will allow to define the new '-D' argument for cbc and pillowfight
    
    Change-Id: I0f3902b32b5ee0e180be69bc8f1768b1a93e2e81
    Reviewed-on: http://review.couchbase.org/48644
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  6. @mnunberg

    Allow embedding of libevent plugin

    mnunberg authored mnunberg committed
    This feature (enabled via a CMake directive) allows the embedding of
    the libevent plugin, make it part of the core client library rather than
    a dynamically loaded plugin.
    
    Change-Id: I20c61d75cf76cf6e6f59712f59b0d98c35e390bd
    Reviewed-on: http://review.couchbase.org/48516
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  7. @mnunberg

    Add cntl to determine if synctokens are actually supported

    mnunberg authored mnunberg committed
    This will return true if the cluster supports synctokens.
    
    Change-Id: I5fb7041d894dcbe71d9e7c5611d52e8a73bdb336
    Reviewed-on: http://review.couchbase.org/48514
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  8. @mnunberg

    cbc: print more verbose information on strerror

    mnunberg authored mnunberg committed
    This will print the actual constant name and the category, if possible.
    
    Change-Id: I3619e65121c0df85b437344cb95a8f7fd93be4e5
    Reviewed-on: http://review.couchbase.org/48517
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  9. @mnunberg

    Add documentation about state flags to mcreq_renew_packet

    mnunberg authored mnunberg committed
    This documents a somewhat confusing but necessary step.
    
    Change-Id: I72492375ed28ecdf7fa9f4604a82b1e82c4abfb7
    Reviewed-on: http://review.couchbase.org/48191
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
  10. @mnunberg

    CCBC-596: Define additional EAI_* symbols for UV

    mnunberg authored mnunberg committed
    Change-Id: If6ed2efc4cfacd6fa7a66c90b54976f6b3808a2f
    Reviewed-on: http://review.couchbase.org/48720
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Brett Lawson <brett19@gmail.com>
Commits on Mar 23, 2015
  1. @mnunberg

    CCBC-526: Disable HTTP when CCCP config is received

    mnunberg authored mnunberg committed
    This commit changes the behavior to make the assumption that the client
    will never need to revert to the HTTP-based config stream once any node
    responds with a config over CCCP. This change may break some odd case
    upgrade scenarios from 2.2 to 2.5, however since 2.2 is nearing its end
    of support, this is more a corner case than reverting to HTTP (which in
    itself could be more common).
    
    Change-Id: I73f2a97a369814f49b47ea58144e1e40a86018fb
    Reviewed-on: http://review.couchbase.org/48519
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Something went wrong with that request. Please try again.