Permalink
Switch branches/tags
Nothing to show
Commits on Aug 17, 2016
  1. A bit more nil handling

    dustin committed Aug 17, 2016
Commits on Aug 16, 2016
  1. Return nil keys, extras, and bodies instead of zero len

    dustin committed Aug 16, 2016
    There were some broken tests around this.  Now they're fixed.
Commits on Jan 10, 2015
  1. Fix relative links in README

    rasa committed with dustin Jan 10, 2015
    Close #15
Commits on Mar 6, 2014
Commits on Feb 4, 2014
  1. Renamed GetConnection to Hijack

    dustin committed Feb 4, 2014
    Also, as a normal hijack, we mark the connection as unhealthy after
    hijacking.
Commits on Jan 16, 2014
  1. Get rid of NOOP in GetBulk

    dustin committed Jan 16, 2014
    This is one fewer send/receive, transforms a single-element GetBulk into
    a plain GET, etc...
  2. Fix godoc

    dustin committed Jan 16, 2014
  3. Added debug (expvar) package

    dustin committed Jan 16, 2014
Commits on Nov 19, 2013
Commits on Nov 18, 2013
  1. Ignore profiling c.out

    dustin committed Nov 18, 2013
  2. Building some client tests

    dustin committed Nov 18, 2013
Commits on Nov 17, 2013
  1. test func handler

    dustin committed Nov 17, 2013
  2. Added test for must()

    dustin committed Nov 17, 2013
  3. Remove an unused type

    dustin committed Nov 17, 2013
Commits on Nov 11, 2013
  1. errcheck cleanup

    dustin committed Nov 11, 2013
  2. Final golint cleanup for client

    dustin committed Nov 11, 2013
Commits on Nov 6, 2013
  1. Error message formatting fix

    snej committed with dustin Nov 6, 2013
Commits on Oct 29, 2013
  1. Implementation of Append

    snej committed with dustin Oct 29, 2013
Commits on Oct 24, 2013
  1. No longer treat MCResponse as an error

    dustin committed Oct 24, 2013
    This is confusing, and in any case where it's actually used, we
    mean *MCResponse.  This causes some error detection to not work.
Commits on Sep 24, 2013
  1. Added Cas to TapEvent struct.

    steveyen committed with dustin Sep 23, 2013
Commits on Sep 19, 2013
Commits on Sep 5, 2013
  1. tap: Verify at least 16 bytes before reading them

    dustin committed Sep 5, 2013
    We'd occasionally see fewer than this leading to a panic.  Now, let's
    just ensure the values are there by creating them, zero filling them and
    copying over whatever was there in case it was short.
    
    cbugg: close bug-856
Commits on Aug 23, 2013
  1. Return the most up-to-date CAS on success.

    mendsley committed with dustin Aug 23, 2013
    Normally CAS isn't checked in the success cases, except when
    waiting on data to be persisted. Previously the library failed
    to update the CAS value on success causing WriteUpdate calls with
    the Index/Persist flags set to always fail with ErrOverwritten.
    
    These were false errors, as the library was always using the
    pre-modification CAS value as input into the observe function
    instead of the post-modification CAS value.
    
    cbugg: close bug-849
Commits on Aug 9, 2013
  1. Consider EINVAL fatal

    dustin committed Aug 9, 2013
    This really isn't generally a fatal error, but the error does show up in
    a situation where protocol error causes the stream to fall out of sync.
    The server will hang up, but the client won't know it yet.
    
    This generally happens with a key that's too long for the server.
    
    e.g. this test sets a value in a short key, then a long key, then tries
    to read the value out of the short key again using the couchbase API.
    
    before:
    
        len(longString) == 260
        Return:  MCResponse status=EINVAL, opcode=SET, opaque=0, msg: Invalid arguments
        EOF
    
    after:
    
        len(longString) == 260
        Return:  MCResponse status=EINVAL, opcode=SET, opaque=0, msg: Invalid arguments
        x is "test"
    
    cbugg: close bug-304
Commits on Aug 1, 2013
  1. Getting rid of .travis.yml

    dustin committed Aug 1, 2013
Commits on Jul 22, 2013
  1. CASNext shouldn't trigger infinite loop on server error

    snej committed with dustin Jul 22, 2013
    Legit server errors updating a value (e.g. E2BIG) would cause CASNext to
    think there was a conflict and tell the client to try again, resulting
    in an infinite loop.
Commits on Jul 12, 2013
  1. Damnit, Travis. go is 1.1.1

    dustin committed Jul 12, 2013
  2. Added CASNext(), a non-callback-based version of CAS().

    snej committed with dustin Jul 12, 2013
    The original functional form of CAS() is problematic for go-couchbase
    because it results in the memcached connection staying in use while the
    client callback is running. The new form returns to the caller after
    every iteration, so the caller doesn't need to reserve the connection.
    This will help fix a deadlock issue with go-couchbase and the sync
    gateway. (See couchbase/sync_gateway#119)
Commits on Jun 8, 2013
  1. Don't log ignored tap messages.

    dustin committed Jun 8, 2013
    cbugg: close bug-648