Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 12, 2012
  1. @ingenthr

    Update to released spymemcached 2.8.6.

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

    Fix minor checkstyle issues.

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

    JCBC-109: Reduce observe poll interval latency.

    ingenthr authored ingenthr committed
    A 100ms interval was chosen after some discussion.  It's
    not optimal, and JCBC-108 tracks getting this to an adaptive
    algorithm.
    
    The reason for 100ms is that with real disks, chances are
    fast IOs will happen in 60-120ms.  Only with caching or SSDs
    will it likely be lower.  This means that with most checks
    it'll happen in a handful of checks.
    
    Change-Id: Ia6e14ee32ba6d6fc57608ffb44dbb9611e3401a5
    Reviewed-on: http://review.couchbase.org/20760
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  4. @ingenthr

    JCBC-107: Correct OperationStatus message when observe poll is tuned.

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

    Update to spy 2.8.6-SNAPSHOT for development.

    ingenthr authored ingenthr committed
    Change-Id: Ie46913976b2a24197410cb7d57a6c35b5a76b3ed
    Reviewed-on: http://review.couchbase.org/20711
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
Commits on Sep 9, 2012
  1. @mikewied @ingenthr

    Remove unused variables in observe implementation

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

    Make observe poll loop parameters tuneable.

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

    Enhanced observe and added observe support for other mutation ops

    ragsns authored ingenthr committed
    Throw ObservedException, ObservedTimeoutException
    and ObservedModifiedException
    Added support for add, replace, cas
    Updated Tests for observing the mutation operations
    
    Change-Id: Ifa9accbe8056f28ecfefaac19a9d5bdf34fb9951
    Reviewed-on: http://review.couchbase.org/20329
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  3. @ingenthr

    Update to spymemcached 2.8.5.

    ingenthr authored ingenthr committed
    Change-Id: I754b08c9f1151bd739a89b8aeac3c0a4d102fa07
    Reviewed-on: http://review.couchbase.org/20398
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
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>
Something went wrong with that request. Please try again.