Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 2, 2012
  1. @BigBlueHat

    adding limits.d addition for travis

    BigBlueHat authored BigBlueHat committed
    Change-Id: Ibfb1257cc18da2e362ee045ee5b970806f9b835d
    Reviewed-on: http://review.couchbase.org/19233
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
  2. @BigBlueHat

    adding /opt/couchbase/bin/ to .travis.yml cp*ctl

    BigBlueHat authored BigBlueHat committed
    Explict path of cbepctl and cbflushctl.
    
    Change-Id: I7b56cbe565db4c5da6ffc78daaa9f5ebbc5b5582
    Reviewed-on: http://review.couchbase.org/19232
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  3. @BigBlueHat

    shutting off the always-on memcached at travis

    BigBlueHat authored BigBlueHat committed
    Change-Id: I47bffcc63caf0878d146cb54ec2392c77191d393
    Reviewed-on: http://review.couchbase.org/19231
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  4. @BigBlueHat

    return 0.0.0 for unfindable versions

    BigBlueHat authored BigBlueHat committed
    Rather than just die completely if the source is found
    via a method that did not include a RELEASE-VERSION and
    was not creatived via a git checkout (namely, Travis-CI),
    we at least give some version number back so things keep
    going.
    
    Change-Id: I6a43dcb1f7cecf19f0a867a7a112042983e36067
    Reviewed-on: http://review.couchbase.org/19230
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  5. @BigBlueHat

    adding latest build for 32-bit Ubuntu for travis

    BigBlueHat authored BigBlueHat committed
    Change-Id: If9ec54e2e27f04950b6aa2696371c818e9b9edb3
    Reviewed-on: http://review.couchbase.org/19229
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  6. @BigBlueHat

    adding cbflushctl/cbepctl to travis setup

    BigBlueHat authored BigBlueHat committed
    Change-Id: I49c6217c2aa414f5fd1bb623a2ce5cebfd16fdd6
    Reviewed-on: http://review.couchbase.org/19228
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  7. @BigBlueHat

    switching travis to use python setup.py nosetests

    BigBlueHat authored BigBlueHat committed
    Change-Id: Ia7ce77275effec38f069f9a7c838a3cf9b227b5d
    Reviewed-on: http://review.couchbase.org/19227
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  8. @BigBlueHat

    added 1.8.1-pre-release test builds

    BigBlueHat authored BigBlueHat committed
    Also added requests to pip install list
    
    Change-Id: Ic8b405e28a03e6b5615f1651fd46081c79f7bf9e
    Reviewed-on: http://review.couchbase.org/19226
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  9. @BigBlueHat

    removing deleted design doc from ddocs list

    BigBlueHat authored BigBlueHat committed
    The delete_design_doc in tearDown was throwing an
    error since the doc was already gone. This just
    avoids that situation and keeps the test passing.
    
    Change-Id: I3b7044f4888e69dc8dc9372558a7305e3d122f65
    Reviewed-on: http://review.couchbase.org/19224
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  10. @BigBlueHat

    removing unimplemented getMulti-temporarily

    BigBlueHat authored BigBlueHat committed
    getMulti has been available, but unimplemented. Removing it
    to prevent errors, confusion, and frustraition. Will put it
    back in the future.
    
    Change-Id: Ia8b7260c19d2e06475b391ff7970120334b9fbd5
    Reviewed-on: http://review.couchbase.org/19169
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
  11. @BigBlueHat

    fixed setup.py version calculation

    BigBlueHat authored BigBlueHat committed
    Previously this was fully dependent on git describe which
    meant setup.py had to be run from a source checkout rather
    than a source tar ball--which effects pypi distribution as
    well as couchbase.com distribution.
    
    This new method uses git describe if available, otherwise it
    references a RELEASE-VERSION document stored in the .tar.gz
    created by sdist (which happens prior to PyPI uploading).
    
    Change-Id: Ic0bb430532e6e279acb6c1ce6b32a4271c850bd3
    Reviewed-on: http://review.couchbase.org/19168
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  12. @BigBlueHat

    added returning of set status

    BigBlueHat authored BigBlueHat committed
    Needs to be there to avoid doing a .get() to make
    sure the key was set.
    
    Change-Id: I0296a9cece21ddf78f169e4fa71ee4c8d23c5df2
    Reviewed-on: http://review.couchbase.org/19167
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
Commits on Jul 31, 2012
  1. @BigBlueHat

    updated README text about testing & needing flush

    BigBlueHat authored BigBlueHat committed
    Change-Id: I2cb0bf84b9e2d2d9747ff2a3776888006c3c8c59
    Reviewed-on: http://review.couchbase.org/19110
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  2. @BigBlueHat

    pep8 the README code

    BigBlueHat authored BigBlueHat committed
    Change-Id: I24dcdbf17d9a6fab5d54608342b6c279426a6199
    Reviewed-on: http://review.couchbase.org/19096
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
  3. @BigBlueHat

    conditional syntax changes per pep8

    BigBlueHat authored BigBlueHat committed
    if cond != None is now if cond is not None
    if cond == None is now if cond is None
    
    Change-Id: I1cfcc6df32ad09d09461512ada993f91d2568cb4
    Reviewed-on: http://review.couchbase.org/19090
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  4. @BigBlueHat

    big whitespace-focused pep8 update

    BigBlueHat authored BigBlueHat committed
    pep8.py 1.3.3 shows a lot more than 1.1 >_<
    
    Change-Id: I05959084efe1970e1bdd0185583ea681aa115766
    Reviewed-on: http://review.couchbase.org/19089
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  5. @BigBlueHat

    added test of other Readme example

    BigBlueHat authored BigBlueHat committed
    Also made Couchbase class more accessible for imports:
      from couchbase import Couchbase
    Updated the example code to use this, rather than the
    deprecated Server class.
    
    Change-Id: Ice336c8f823d5d40f5961aa8f07151ec73d65d99
    Reviewed-on: http://review.couchbase.org/19085
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
  6. @BigBlueHat

    flush event error handling does contain a vbucket

    BigBlueHat authored BigBlueHat committed
    Change-Id: I11260857d82acd8b13ca6ab279e9b5439169a019
    Reviewed-on: http://review.couchbase.org/19088
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  7. @BigBlueHat

    memcached buckets do not have diskUsed stats

    BigBlueHat authored BigBlueHat committed
    Change-Id: Ideb38c4bebb9279bf849089e04d3218279057a5f
    Reviewed-on: http://review.couchbase.org/19087
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  8. @BigBlueHat

    added warmup state as valid HTTP API state

    BigBlueHat authored BigBlueHat committed
    Previously the list of available nodes was limited
    to ones marked healthy. 2.0 introduces a warmup
    state in which the server can still respond to HTTP
    requests, and as such, we need to keep those in the
    list of available nodes.
    
    Change-Id: I569bcd748055afd0f79716b1d41687abf6c725b0
    Reviewed-on: http://review.couchbase.org/19086
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  9. @BigBlueHat

    added tests for examples in the readme

    BigBlueHat authored BigBlueHat committed
    Testing the old/current ones first, then will update.
    Plan to keep the old ones around to check backwards
    compatibility...at least for now.
    
    Change-Id: I5c78f942cf35f9fa86668faf563d04e29913559e
    Reviewed-on: http://review.couchbase.org/19084
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  10. @BigBlueHat

    pep8 setup.py

    BigBlueHat authored BigBlueHat committed
    Change-Id: I5808835d4a46bd02face2411fa2b64bbbf6ea059
    Reviewed-on: http://review.couchbase.org/18879
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
Commits on Jul 30, 2012
  1. @BigBlueHat

    module renamed :s/couchbase-python/couchbase

    BigBlueHat authored BigBlueHat committed
    The -python implied that we are a pure Python SDK. We still
    are for the time being, but not for much longer. This is
    our first major release to PyPI, so figured we should get
    the name correct right off.
    
    Change-Id: I28554f13ef7139e56087409ac4d6dfcc27b8618f
    Reviewed-on: http://review.couchbase.org/18878
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  2. @BigBlueHat

    finished up pep8 event.py

    BigBlueHat authored BigBlueHat committed
    Seems I missed changing the other code to reference
    the is_set rather than isSet method. Somethings cannot
    be seen in a single patch in Gerrit...
    
    Change-Id: Ibbb07c06e98854907570111d4c407cafa11f7365
    Reviewed-on: http://review.couchbase.org/18877
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
Commits on Jul 25, 2012
  1. @BigBlueHat

    pep8 event.py

    BigBlueHat authored BigBlueHat committed
    Change-Id: Ie08c08a18c051be78536b86a6579c456401a414d
    Reviewed-on: http://review.couchbase.org/18813
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  2. @BigBlueHat

    removed warning catcher in favor of with

    BigBlueHat authored BigBlueHat committed
    Other things break 2.4 compatibility, so
    there was no need to keep this thing.
    
    Change-Id: I264b3e9e729dc397150292655157dd4d737bd70a
    Reviewed-on: http://review.couchbase.org/18433
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  3. @BigBlueHat

    simplifying Bucket var names

    BigBlueHat authored BigBlueHat committed
    WARNING: Bucket.bucket_name is now Bucket.name
    
    Change-Id: If63d472c652c02f3faa502a1f9cee0d9c1c2e5d1
    Reviewed-on: http://review.couchbase.org/18432
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  4. @BigBlueHat

    refactored client memcached bucket tests

    BigBlueHat authored BigBlueHat committed
    Also added @nottest and @attr in the right places
    
    Change-Id: Ic3f5e110d904d307cd20ba7c69b4169516a880f4
    Reviewed-on: http://review.couchbase.org/18431
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  5. @BigBlueHat

    fixed memcached bucket access via CouchbaseClient

    BigBlueHat authored BigBlueHat committed
    This patch fixes CouchbaseClient object initiation
    primarily. It previously did not work with memcached
    buckets. It also changes the internal self.bucket
    attribute to be an object rather than just the name,
    so that we have more power, with fewer trips to the
    server.
    
    Change-Id: I446bae3158bdd6f644c5898d7cf9a6b73c879e4b
    Reviewed-on: http://review.couchbase.org/18430
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  6. @BigBlueHat

    narrowed deprecation warning check to just getMulti

    BigBlueHat authored BigBlueHat committed
    Change-Id: I12dfa193991ff6bb719c074520c200b10ecf7b5e
    Reviewed-on: http://review.couchbase.org/18386
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  7. @BigBlueHat

    fixed PYCBC-15; API supports integer value sets

    BigBlueHat authored BigBlueHat committed
    Previously, the developer had to pass strings to .set().
    Now, ints can be passed in, and are coerced into strings
    both going in and coming out.
    
    WARNING: this is a backwards compatibility break, as old
    code which routed around this issue by always expecting
    strings to be returned, will now need updating.
    
    Change-Id: I29d215357a15d0c347b07b3a545a76325ef434f7
    Reviewed-on: http://review.couchbase.org/18357
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  8. @BigBlueHat

    setting up VBucketAware & MemcachedClient tests better

    BigBlueHat authored BigBlueHat committed
    There was no value in setting self.client equal to
    something in a parent and then overriding it on the
    next line. Base has what these need.
    
    Change-Id: Ib87c5406768c84c45ad11731eb874f379236131d
    Reviewed-on: http://review.couchbase.org/18356
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Jul 13, 2012
  1. @pavel-paulau @BigBlueHat

    PYCBC-28: minimize wait events

    pavel-paulau authored BigBlueHat committed
    Problem: by default all "wait for condition" calls in threading
    module have minimal initial delay -- 1ms. We provoke these delays
    during every request. We also use blocking mode for Queue object.
    
    The patch minimizes wait events by introducing simplified Event class
    (initial delay is 0.1ms and less aggressive timeout checker) and
    avoiding blocking behavior.
    
    Improvement is 734 sets/sec vs. 349 sets/sec. Of course, CPU
    utilization is higher.
    
    However our dispatching approach is still slower than single-threaded
    memcache client (~1600 sets/sec).
    
    Change-Id: I771005606bb683e9d2113c6f19c5a72fa5bd92a5
    Reviewed-on: http://review.couchbase.org/18298
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
Commits on Jul 12, 2012
  1. @BigBlueHat

    deprecating getMulti for get_multi; testing both

    BigBlueHat authored BigBlueHat committed
    Change-Id: I0b3194a56fb7c74074db0fae4d9da72fc3fa0362
    Reviewed-on: http://review.couchbase.org/18230
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
  2. @BigBlueHat

    made sasl_mechanisms return frozenset; tested

    BigBlueHat authored BigBlueHat committed
    Change-Id: Ide5a9df35c7b5e80e2c64a0f46aad62f017d15b7
    Reviewed-on: http://review.couchbase.org/18229
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
    Tested-by: Benjamin Young <benjamin@couchbase.com>
Something went wrong with that request. Please try again.