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