Permalink
Commits on Apr 5, 2012
  1. Change back to spymemcached 2.8.0 for this branch.

    Change-Id: I38ef9d66544f30f8101ca04889b8042c1abfc177
    Reviewed-on: http://review.couchbase.org/14586
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ingenthr committed with ingenthr Apr 5, 2012
  2. Reconnect to configuration stream if disconnected. JCBC-19

    With this change, a Bucket which is marked as disconnected will be
    later reconnected when noticed by a calling thread.
    
    The logic for this is a little convoluted at the moment, but tests
    to be correct.  In the future, this whole section should be refactored
    to be a better NodeLocator or something similar.  See JCBC-28.
    
    Change-Id: I8541493fdf7e8c504c4cbd512ca43e3416b03829
    Reviewed-on: http://review.couchbase.org/14574
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    ingenthr committed with ingenthr Mar 21, 2012
  3. Use the correct default Hashing Algorithm - JCBC-29

    Change-Id: Ifb1a9ebcc7ae64a8590f1123ddde9138c17fe23e
    Reviewed-on: http://review.couchbase.org/14485
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ragsns committed with ingenthr Apr 3, 2012
Commits on Mar 12, 2012
  1. Fixed a javadoc issue

    Change-Id: Ic6957078afdf56c16f2e44c3a269b3e31a8bb466
    Reviewed-on: http://review.couchbase.org/13847
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    ragsns committed with ragss Mar 9, 2012
  2. Correctly shut down connection from TapClient. JCBC-16

    Fix based on http://www.couchbase.com/issues/browse/JCBC-16
    
    Change-Id: Iefa5d36a1263350a5e61f54d2f65796dec9b808f
    Reviewed-on: http://review.couchbase.org/13848
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    ragsns committed with ragss Mar 9, 2012
Commits on Feb 20, 2012
  1. Fixed a number of TAP test issues.

    Change-Id: I1193262637596d0576838a67db7a61ff1447ad37
    Reviewed-on: http://review.couchbase.org/13394
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ingenthr committed with ingenthr Feb 20, 2012
  2. Added a note about TAP interface stability.

    Change-Id: Ida28a8804777fddf0a8e47f7b3adecbdc7b0b633
    Reviewed-on: http://review.couchbase.org/13373
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    ingenthr committed with ingenthr Feb 20, 2012
  3. Use TapAck from Spymemcached

    This change removes duplicate code.
    
    Change-Id: I7cf569e6c96f41af5bab51aabe402662f49282af
    Reviewed-on: http://review.couchbase.org/13085
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Mike Wiederhold committed with ingenthr Feb 8, 2012
  4. Use TapStream abstraction in spymemcached

    This will allow our tap streams to be able to connect to
    all node in the cluster.
    
    Change-Id: I233a8fc96bb55cf12e73e40f46281dd3870004b5
    Reviewed-on: http://review.couchbase.org/13083
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Mike Wiederhold committed with ingenthr Feb 8, 2012
  5. Depend on spymemcached 2.8.1-SNAPSHOT.

    I've pushed a tag to the first commit on spymemcached after
    the last release, verified that it's building/installing
    with the snapshot tag.  Then based this on it.  We need
    to release them in order, obviously.
    
    Seems like the best flexibility for now with how things are
    changing.
    
    Change-Id: I8edc64963b074fe558a8e4cd42b3ff9e0af26dc2
    Reviewed-on: http://review.couchbase.org/13372
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    ingenthr committed with ingenthr Feb 20, 2012
Commits on Feb 13, 2012
  1. Fixed checkstyle issues.

    Change-Id: I767ed66a6c3b36016300448a2075ada7071dfbae
    Reviewed-on: http://review.couchbase.org/13082
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Mike Wiederhold committed with ingenthr Feb 8, 2012
Commits on Feb 8, 2012
  1. Fixes for adding only hostname instead of both hostname and ip address

    Change-Id: Ieae49545e1c08f2cb9155f926015046a787c0f5b
    Reviewed-on: http://review.couchbase.org/13046
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ragsns committed with ingenthr Feb 7, 2012
Commits on Feb 6, 2012
  1. Added unlock operation

    Based on patch submitted by Brent Ryan.
    
    Change-Id: I9a30f21108fcbbd43add4abd2f16af05a3fbe68b
    Reviewed-on: http://review.couchbase.org/12907
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    ragsns committed with ragss Feb 1, 2012
Commits on Feb 1, 2012
  1. Changed spy jar configuration to default

    We changed this in spymemcached during the release so that it would
    be added as a normal compile time dependency for users who add the
    spy dependency to their pom files. I changed it in the pom config but
    not in the project config that we use for development.
    
    Change-Id: I34175919faec283d993a57f9a2b5f15646ccce0b
    Reviewed-on: http://review.couchbase.org/12841
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Feb 1, 2012
Commits on Jan 26, 2012
  1. Fixed testAvailableServers()

    With Couchbase we should make sure that we get two "names" for
    each server. One will be the hostame and the other will be the
    ip address.
    
    Change-Id: Ic4f47da68afcbd4efe542ec1f00627a2c63558cd
    Reviewed-on: http://review.couchbase.org/12690
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 26, 2012
  2. Use the master configuration for spymemcached jars

    This will solve the issue where we were importing jmx
    and other things that were not needed.
    
    Change-Id: I2d30d058a57a696e8de196224e568c0e28f477ca
    Reviewed-on: http://review.couchbase.org/12689
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 26, 2012
  3. Uncomment the resolver for the Couchbase maven repo

    Change-Id: If110e8fe50157411ea0fa81d63b062e577482fc8
    Reviewed-on: http://review.couchbase.org/12688
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 26, 2012
  4. Fixed issue where everything was getting hashed to vb 0

    The node locator types here are backwards and will cause
    everything to be written to and read from vbucket 0.
    
    Change-Id: Ia12887f75748ce0fcf5f3fcf5c11bdd3436cea72
    Reviewed-on: http://review.couchbase.org/12674
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 25, 2012
Commits on Jan 22, 2012
  1. Updated libraries.properties to go with 2.8.0 release.

    Change-Id: Id41f575ed0b3b9a50d096a5d77754d911ca1312e
    Reviewed-on: http://review.couchbase.org/12583
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    ingenthr committed with ragss Jan 22, 2012
  2. Corrected stage of maven artifacts to properly include source/docs.

    Change-Id: Ife95d2f4b1033caa34e6defae4f7339c3a8a82bc
    Reviewed-on: http://review.couchbase.org/12578
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ragsns committed with ingenthr Jan 22, 2012
  3. Changes to stage Maven repository locally

    Added a target mvn-stage to stage repository to {user.home}/mvn-stage
    
    Based on http://draconianoverlord.com/2010/07/18/publishing-to-maven-repos-with-ivy.html
    
    Change-Id: Ib71d9ab41abd7fe4a396fc6e0cab8e56edc99e46
    Reviewed-on: http://review.couchbase.org/12576
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ingenthr committed with ingenthr Jan 21, 2012
  4. Corrected BuildInfo and other metadata.

    Change-Id: I34b46bc01ec94696dd7d75ea55e5fe5f471e00f5
    Reviewed-on: http://review.couchbase.org/12577
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ragsns committed with ingenthr Jan 22, 2012
Commits on Jan 15, 2012
  1. Rename files used for pom file generation

    These files still had the membase in the name so I changed them to
    have couchbase in the name.
    
    Change-Id: I4d1cf095093f72f9de4b19ffa3c92dfc92d930c3
    Reviewed-on: http://review.couchbase.org/12384
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 15, 2012
  2. Don't check for null ConnectionProvider on shutdown

    This should never be null in CouchbaseClient. It is leftover
    code from the project split.
    
    Change-Id: Ib6ec24de33ad897d81729dc87624c558fe6c1967
    Reviewed-on: http://review.couchbase.org/12285
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 11, 2012
Commits on Jan 11, 2012
  1. Refactored the tap client to run correctly

    When we originally broke up Spymemcached and created this
    project we left the tap client in a broken state. This change
    makes the tap client function correctly and reenables the test
    cases that were commented out.
    
    Change-Id: Ic23bc0599038893a8ae63d50bec3529a15cc6b1b
    Reviewed-on: http://review.couchbase.org/12159
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Mike Wiederhold committed with ingenthr Jan 9, 2012
  2. More membase to couchbase refactoring changes

    Changed some more occurences (affects javadocs and log messages)
    Also added/renamed VBucketCouchbaseClientTest.java which I missed.
    
    Change-Id: I9ec314dd2ac65cb904bed978710835135e2a0ac9
    Reviewed-on: http://review.couchbase.org/12160
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    ragsns committed with ragss Jan 9, 2012
Commits on Jan 9, 2012
  1. Added option to selectively run tests for CI

    Change-Id: I391d2e967e56b01cd8d88e73a95e50549422873b
    Reviewed-on: http://review.couchbase.org/12096
    Tested-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    ragsns committed with mikewied Jan 6, 2012
  2. Changed package namespace to com.couchbase.client

    Change-Id: Idd6454bd6574a9337528281df912f51a9fda52ad
    Reviewed-on: http://review.couchbase.org/12050
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    ragsns committed with mikewied Jan 4, 2012
  3. When adding ops we now use enqueueOperation()

    addOp() was removed from MemcachedClient and into memcachedConnection
    and then renamed to enqueueOperation. This change makes it so we
    now use the new function.
    
    Change-Id: I2f2431194a1d417a8540e8fb5e5f1a93bdbe3b0a
    Reviewed-on: http://review.couchbase.org/12151
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 8, 2012
  4. Remove checks for Membase in test cases

    This client should always work with Membase and Couchbase
    so we do not need to check the server type.
    
    Change-Id: Iad899a4593795737f8d74eb6b088168207f003a3
    Reviewed-on: http://review.couchbase.org/12150
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Mike Wiederhold committed with mikewied Jan 8, 2012
Commits on Jan 4, 2012
  1. First commit

    * Transferred all of the Couchbase code from spymemcached
      into this project
    * Updated build files to properly build the project
    * Fixed errors in project to allow it to build
    * Fixed check style errors
    
    Change-Id: Id736de65fb83f9aa4f0a4a7adbbbb396ebf0ef76
    Mike Wiederhold committed with ragsns Nov 18, 2011