Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
Security Level: Public
-
None
-
OSX 10.6, Python 2.6
-
Impediment
Description
While learning more about the functions in the vbucketawareclient I tried .decr() with minimal parameters. I lost control of my Python session as it didn't really fail gracefully. I wasn't really trying to make it work, but think this is broken and really hard to test further because of this tie-up.
Test script:
from couchbase.couchbaseclient import VBucketAwareCouchbaseClient as client
server = "http://localhost:8091/pools/default"
v = client(server,"default","")
- returns 11210
v.set("TESTKEY",0,0,"TESTVALUE") - returns (4020540899, 602, '')
v.decr("TESTKEY",1)
#[2011-08-11 16:51:52,415] - [couchbaseclient] [4320661504] - ERROR - 'amount'
#[2011-08-11 16:51:52,627] - [couchbaseclient] [4320661504] - ERROR - 'amount'
#[2011-08-11 16:51:52,827] - [couchbaseclient] [4320661504] - ERROR - 'amount'
#.. never ends
Attachments
For Gerrit Dashboard: PYCBC-3 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
110824,11 | PYCBC-593 Restrict LCB versions to tagged >=2.10.3, >=3.0.0-alpha.3 | master | couchbase-python-client | Status: MERGED | +2 | +1 |