Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1050

Lockmode set on cluster object does not get passed to bucket object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • .backlog3.x
    • 3.0.5
    • None
    • None
    • 1

    Description

      When using the cluster object to get a bucket cluster.bucket , the lockmode does not get pass down to the bucket object.

      So workaround is to the underlying cluster object in the cluster and calling the open_bucket method and passing in the bucket lockmode.

      bucket = cluster._cluster.open_bucket(bucket_name, lockmode=2)
      The bucket object will now have lockmode set.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jared.casey Jared Casey
            tin.tran Tin Tran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty