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

Finish off collections support for SDK3

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha.3
    • None
    • None
    • 1

    Attachments

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

      Activity

        What remains of collections implementation?

        ingenthr Matt Ingenthron added a comment - What remains of collections implementation?
        Ellis.Breen Ellis Breen added a comment - - edited

        The front end Python code is quite capable of passing scope/collection names down in the new SDK3 calls, and on the CPython backend there is code to set these names on lcb_CMD instances, just a few bits of wiring mainly in the C client left to put it everywhere.

        I was trying to wrap it nicely in a CPython style Collection object but then changed tack to passing in the Scope/Collection from the Python world. I just need to add things to read this everywhere function arguments are converted, and pass it down to where the lcb command structures are populated. http://review.couchbase.org/c/109288/ does a lot of that work but needs to be completed.

        There's also a change on Gerrit that proxies the entire couchbase_core.bucket.Bucket class (the basis for our Collection object) at http://review.couchbase.org/c/110758/, which could be further developed to intercept all
        the old SDK2 calls to Bucket, inject scope/collection details, and convert all the results to SDK3 format.

        Ellis.Breen Ellis Breen added a comment - - edited The front end Python code is quite capable of passing scope/collection names down in the new SDK3 calls, and on the CPython backend there is code to set these names on lcb_CMD instances, just a few bits of wiring mainly in the C client left to put it everywhere. I was trying to wrap it nicely in a CPython style Collection object but then changed tack to passing in the Scope/Collection from the Python world. I just need to add things to read this everywhere function arguments are converted, and pass it down to where the lcb command structures are populated. http://review.couchbase.org/c/109288/ does a lot of that work but needs to be completed. There's also a change on Gerrit that proxies the entire couchbase_core.bucket.Bucket class (the basis for our Collection object) at http://review.couchbase.org/c/110758/ , which could be further developed to intercept all the old SDK2 calls to Bucket, inject scope/collection details, and convert all the results to SDK3 format.

        People

          Ellis.Breen Ellis Breen
          Ellis.Breen Ellis Breen
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved:

            Gerrit Reviews

              There are no open Gerrit changes

              PagerDuty