Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 10, 2015
  1. @rasa

    Fix relative links in README

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

    Also, as a normal hijack, we mark the connection as unhealthy after
  2. @prataprc
Commits on Jan 16, 2014
  1. Get rid of NOOP in GetBulk

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

  3. Added debug (expvar) package

Commits on Nov 19, 2013
Commits on Nov 18, 2013
  1. Ignore profiling c.out

  2. Building some client tests

Commits on Nov 17, 2013
  1. test func handler

  2. Added test for must()

  3. Remove an unused type

Commits on Nov 11, 2013
  1. errcheck cleanup

  2. Final golint cleanup for client

Commits on Nov 6, 2013
  1. @snej

    Error message formatting fix

    snej committed with
Commits on Oct 29, 2013
  1. @snej

    Implementation of Append

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

    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. @steveyen

    Added Cas to TapEvent struct.

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

    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. @mendsley

    Return the most up-to-date CAS on success.

    mendsley committed with
    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

    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.
        len(longString) == 260
        Return:  MCResponse status=EINVAL, opcode=SET, opaque=0, msg: Invalid arguments
        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

Commits on Jul 22, 2013
  1. @snej

    CASNext shouldn't trigger infinite loop on server error

    snej committed with
    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

  2. @snej

    Added CASNext(), a non-callback-based version of CAS().

    snej committed with
    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.

    cbugg: close bug-648
Commits on Jun 6, 2013
  1. Don't parse tap opaque that isn't there.

    cbugg: bug-627
Commits on Jun 4, 2013
Something went wrong with that request. Please try again.