Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      OSX 10.6, Python 2.6

      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","")

      1. returns 11210
        v.set("TESTKEY",0,0,"TESTVALUE")
      2. 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
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        Assigning to Keith.

        Show
        farshid Farshid Ghods (Inactive) added a comment - Assigning to Keith.
        Hide
        spatialguru Tyler Mitchell added a comment -

        Latest fix did the trick. http://review.couchbase.org/#change,8915

        Show
        spatialguru Tyler Mitchell added a comment - Latest fix did the trick. http://review.couchbase.org/#change,8915

          People

          • Assignee:
            keith Keith Batten (Inactive)
            Reporter:
            spatialguru Tyler Mitchell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes