Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 22, 2012
  1. @ingenthr

    Remove jettison import from ViewTest.

    ingenthr authored ingenthr committed
    Change-Id: I72f49c842272ee06b39df38d6501aceaee7da7dc
    Reviewed-on: http://review.couchbase.org/20010
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  2. @ingenthr

    Update spymemcached dependency to 2.8.4.

    ingenthr authored ingenthr committed
    Change-Id: I3a92bb4efde4cda95fd8bd0b63976f6a76fd3da1
    Reviewed-on: http://review.couchbase.org/20008
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  3. @ingenthr @ragss

    Remove design docs without the _rev.

    ingenthr authored ragss committed
    As of build 15xx, design documents no longer have a _rev and thus
    there is no reason to retrieve them to remove them with _rev.
    
    Technically speaking, we could probably get rid of this whole
    section, but there's no harm in just making it work.
    
    Change-Id: I6373dbab78ed7f3c02e57c2a4dcf734285b45ee8
    Reviewed-on: http://review.couchbase.org/19998
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
  4. @ingenthr @ragss

    Updated spy dependency to 2.8.4-SNAPSHOT.

    ingenthr authored ragss committed
    Change-Id: I27be57d44302248d27059b213a3dcc2364131a34
    Reviewed-on: http://review.couchbase.org/19997
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
Commits on Aug 21, 2012
  1. @ragsns @ragss

    Observe/Delete related changes

    ragsns authored ragss committed
    Properly return OperationFuture from delete().
    Ignore the cas values if set to zero.
    
    Change-Id: I7f9b4a9149f1a952f5a2354f223223d02144da43
    Reviewed-on: http://review.couchbase.org/19920
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
Commits on Aug 20, 2012
  1. @ingenthr

    Updated README to map up to the 1.1 DP state.

    ingenthr authored ingenthr committed
    Change-Id: Ia810d5b6f1418476fc2118e3501e0c69f2d6da79
    Reviewed-on: http://review.couchbase.org/19862
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  2. @ingenthr

    Update to depend on released spymemcached 2.8.3

    ingenthr authored ingenthr committed
    Change-Id: I20765441809571c2660b661032ba3bc4a681165f
    Reviewed-on: http://review.couchbase.org/19861
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  3. @ingenthr

    Minor typo in test log message.

    ingenthr authored ingenthr committed
    Change-Id: Id0713e7df30b0a828af3122ad9623c3e9240c245
    Reviewed-on: http://review.couchbase.org/19860
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
Commits on Aug 19, 2012
  1. @ingenthr

    Checkstyle misc. fixes.

    ingenthr authored ingenthr committed
    This fixes a number of checkstyle issues which have been
    around for a while.  Some are still in code review, but a merge
    commit is a bit in the way of putting things in the right order.
    
    Change-Id: Icd79b614ef53840130abd8ec8adf1ebdb8fccdb4
    Reviewed-on: http://review.couchbase.org/19840
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  2. @ingenthr

    Checkstyle fixes from merge commit.

    ingenthr authored ingenthr committed
    Initially, I tried to rebase this to be the first commit after
    the merge, but git would keep losing it even when using -p during
    rebase.
    
    Change-Id: If9c79e0139ab60261e67195037686de3a446a373
    Reviewed-on: http://review.couchbase.org/19839
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  3. @ingenthr

    Rename README since ant clean kept removing it.

    ingenthr authored ingenthr committed
    Change-Id: I2eada518c22bc345c113c0b786e200fd931e0567
    Reviewed-on: http://review.couchbase.org/19838
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  4. @ragsns @ingenthr

    Add support for a synchronous delete, via observe operation.

    ragsns authored ingenthr committed
    This change adds support for a synchronous delete, including
    detection of full delete versus logical delete.
    
    The main use case behind this feature is that if using
    Couchbase Server 2.0, and wanting to query views, one may
    wish to ensure a delete has been persisted to know that
    a subsequent query with .setStale(false) will take the
    deletion into account when generating the index.
    
    Change-Id: I99ad5b5089992a7df2c2ab12e487d043265df21f
    Reviewed-on: http://review.couchbase.org/19778
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  5. @ragsns @ingenthr

    Add support for synchronous set via Observe operation.

    ragsns authored ingenthr committed
    This change introduces a simple synchronous set which
    uses the underlying observe command introduced in
    spymemcached 2.8.3.  This command is a binary command only
    and is in Couchbase Server 2.0 (approx. build 1495) only.
    
    Conflicts:
    	src/test/java/com/couchbase/client/CouchbaseClientTest.java
    
    Change-Id: I6a1e8af54ef13d4a40a5dcc21bb7a939fb63499f
    Reviewed-on: http://review.couchbase.org/19068
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  6. @ingenthr

    Fixes for view authentication when adding design docs.

    ingenthr authored ingenthr committed
    Change-Id: I78fd48c5fb18a2622ed0a9f0aa80f317537e70a3
    Reviewed-on: http://review.couchbase.org/19758
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  7. @ingenthr

    Adapt OptimizedStoreVbucketTest to new test fixtures.

    ingenthr authored ingenthr committed
    Change-Id: Id4a3268f42124ace70531f10674b817b7464c15c
    Reviewed-on: http://review.couchbase.org/19694
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  8. @ingenthr

    Fixes for TapTest based on new flush.

    ingenthr authored ingenthr committed
    Change-Id: Ib8be84252cc34eb3c5ec12b039abbcb410cd6a54
    Reviewed-on: http://review.couchbase.org/19693
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  9. @ingenthr

    Better logging on testGetAvailableServers in failure case.

    ingenthr authored ingenthr committed
    Change-Id: Id14c724e9a6ea40f10e4691f09f3bca4f4f8f821
    Reviewed-on: http://review.couchbase.org/19692
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  10. @ingenthr

    Disable tests related to flush after change to test fixtures.

    ingenthr authored ingenthr committed
    Change-Id: I0225828c83cd70ee3ae9fdea66f226a22c183e32
    Reviewed-on: http://review.couchbase.org/19691
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  11. @ingenthr

    Merge branch 'release10'

    ingenthr authored
    By Matt Ingenthron (16) and others
    
    * gerrit/release10:
      Added a simple README.
      Add default test type to ant build.
      Add a few minor override annotations.
      JCBC-88: Fix resubscr by not waiting long and asynch subscribing.
      Workaround NOT_MY_VBUCKET during optimization, and test.
      Honor TestConfig in syncGetTimeoutsInitClient().
      Ensure config update checks do not overwhelm the system.  JCBC-54.
      Use the correct Connection type for the config.  JCBC-53
      Update deps to spy 2.8.2-SNAPSHOT
      Fix checkstyle errors
      Do not override fetching of AuthDescriptor.  JCBC-59
      Added additional ctor to avoid username. JCBC-38.
      Missing space added to log message when node is down.
      Reconnect to configuration stream if disconnected. JCBC-19
      Use the correct default Hashing Algorithm - JCBC-29
    
    Conflicts:
    	ivy/libraries.properties
    	src/main/java/com/couchbase/client/CouchbaseClient.java
    	src/main/java/com/couchbase/client/CouchbaseConnection.java
    	src/main/java/com/couchbase/client/CouchbaseConnectionFactory.java
    
    Change-Id: Idefa785503f0dae99624af7172ba38f54087a45e
  12. @ingenthr

    Change tests to use bucket delete/create instead of flush_all.

    ingenthr authored ingenthr committed
    Recent changes of Couchbase Server 2.0 have flush_all disabled
    by default. It's also not correct to re-enable flush_all
    (though possible) as it won't really behave correctly.
    
    This change shifts to a bucket delete followed by a bucket create.
    It's not the best change in that it introduces a lot of sleep time
    instead of checking for bucket availability with some other poll,
    but does appear to be reliable.
    
    After the integration of RESTful flush in MB-5170, we should be
    able to trim some of the time of running tests again and remove
    the sleeps in here.
    
    Change-Id: I80ed8bb311afc8dde3970db0cbad6687f58c0048
    Reviewed-on: http://review.couchbase.org/19677
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  13. @ingenthr

    Added asserts to ensure expected view handling.

    ingenthr authored ingenthr committed
    Change-Id: I191ff4bfdd61aec26afb146aa3aa9de4d315f9c0
    Reviewed-on: http://review.couchbase.org/19676
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  14. @ingenthr

    Make diagnosis of HTTP connection startup better.

    ingenthr authored ingenthr committed
    Change-Id: I49d9f44aca5adad8f070cca661c990c9de306853
    Reviewed-on: http://review.couchbase.org/19675
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  15. @ingenthr

    Added better debug logging on ViewNode error handling.

    ingenthr authored ingenthr committed
    Change-Id: Ic1ee33df0a95ce285143269b9cc1246cc8be0913
    Reviewed-on: http://review.couchbase.org/18808
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  16. @mikewied @ingenthr

    Remove dependency on ErrorCode, which was revereted in spymemcached.

    mikewied authored ingenthr committed
    Change-Id: Ife8c127ad3d0e9bfc7648f2f8e87e62a5ec4e0f9
    Reviewed-on: http://review.couchbase.org/19674
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
Commits on Aug 18, 2012
  1. @ingenthr

    Depend upon 2.8.3-SNAPSHOT

    ingenthr authored ingenthr committed
    Change-Id: Idb97b900ec1856b75df631bfe620c73b11bedb1e
    Reviewed-on: http://review.couchbase.org/19673
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  2. @mikewied @ingenthr

    JCBC-96: Remove the queue mechanism in ViewConnection

    mikewied authored ingenthr committed
    This change removes the queueing mechanism that hold operations
    before being given to an individual ViewNode. The operations are
    now passed directly to a ViewNode and if there are too many
    operations then they are held as pending requests until the
    ViewNode is ready to process them. On node shutdown the pending
    ops are requeued through a callback function that redistributes
    them equally to the rest of the ViewNodes.
    
    Change-Id: Ieffbb45123cf47153cea662df1a01f5b2266c8d3
    Reviewed-on: http://review.couchbase.org/19606
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
Commits on Aug 14, 2012
  1. @mikewied @ingenthr

    Fix checkstyle errors

    mikewied authored ingenthr committed
    Change-Id: Id044e448f2ec1b9f83c06bacf21ccdc1f123110b
    Reviewed-on: http://review.couchbase.org/19605
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Commits on Aug 11, 2012
  1. @ingenthr @mikewied

    Make fields of HttpOperation volatile for concurrent access.

    ingenthr authored mikewied committed
    Change-Id: Ia55c4a4a3ef30affe9fea5d5f9623a79e4b91a4b
    Reviewed-on: http://review.couchbase.org/18807
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Aug 8, 2012
  1. @ingenthr @ragss

    Add HTTP Basic Authorization for View Requests. JCBC-95

    ingenthr authored ragss committed
    Change-Id: I51dde71b94f99dc0a5db8e9877fa94db45b718f2
    Reviewed-on: http://review.couchbase.org/19373
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
Commits on Jul 31, 2012
  1. @ingenthr

    Update spymemcached depedency to 2.8.2 release.

    ingenthr authored Jasdeep Jaitla committed
    Change-Id: I2f3099dc885de9e78ca67607174408ad5b075d0e
    Reviewed-on: http://review.couchbase.org/19051
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Jasdeep Jaitla <jasdeep@couchbase.com>
Commits on Jul 30, 2012
  1. @ingenthr @mikewied

    Added a simple README.

    ingenthr authored mikewied committed
    Change-Id: I71ee47b5f3c3260657ec70644f63d9a58eb73055
    Reviewed-on: http://review.couchbase.org/19018
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
  2. @ingenthr @mikewied

    Add default test type to ant build.

    ingenthr authored mikewied committed
    Change-Id: Ib0cc409a440ff5b485d6a188f77867abc79bc204
    Reviewed-on: http://review.couchbase.org/19017
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
  3. @ingenthr

    Add a few minor override annotations.

    ingenthr authored ingenthr committed
    Change-Id: I943c6253c55fa96f6a567dacd2598192f512f21b
    Reviewed-on: http://review.couchbase.org/19012
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  4. @ingenthr @ragss

    JCBC-88: Fix resubscr by not waiting long and asynch subscribing.

    ingenthr authored ragss committed
    It was found during autofailover testing that the client
    did not recover well.  The problem was that we completed the
    resubscription on one of the callers threads.  The subscription
    can take upward of 700ms, but if the caller adjusts their timeout
    for operations to be lower, we don't complete the resubscription.
    
    This change does a couple of things:
    1) doesn't allow the connection for any individual HTTP request
       (non-streaming) to take longer than 500ms to establish for
       purposes of faster failover
    2) changes resubscription to occur in a thread temporarily
       spawned by the CouchbaseConnectionFactory, so it can complete
       even if the caller's request times out.
    
    This has been tested to show autofailover working correctly.
    
    Change-Id: I87582b99fa872530a62a336b3144fefc60b63f6e
    Reviewed-on: http://review.couchbase.org/19008
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Raghavan N. Srinivas <raghavan.srinivas@gmail.com>
Commits on Jul 25, 2012
  1. @ingenthr

    Workaround NOT_MY_VBUCKET during optimization, and test.

    ingenthr authored ingenthr committed
    On SPY-91, it was found that receiving a NOT_MY_VBUCKET
    response in the middle of an optimized batch of requests
    will upset things by causing the optimized operation itself
    to be unqueued for reads, rather than retrying the contained
    operation.
    
    Since the severity level is high and the workaround is
    straightforward (disable optimization) this commit both
    disables optimization and introduces the test which helped
    find the cause of the issue.
    
    Recommended way of verifying this would be to remove the
    two sections related to disabling optimization and then
    verify the test fails.
    
    Change-Id: I20aa2945bbbbe9f19a56a41224244fe368d5e34e
    Reviewed-on: http://review.couchbase.org/18757
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
Something went wrong with that request. Please try again.