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

Mutation Tokens are not passed to Python Client

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.10, 3.1.2
    • 3.1.3
    • None
    • None
    • 1

    Description

      It seems that changes in how mutation tokens are handled in SDK3 required the Python SDK to skip propagating the mutation tokens from LCB through the bindings (seems this happened in early release of Python SDK 3.0).

      Mutation tokens are available from LCB so the Python SDK bindings needed to be updated.

      Notes on Python Bindings (callbacks.c), at the end of the chain is where the handler can be updated w/ mutation token info (after get_common_objects() has been called)

      • LCB_CALLBACK_STORE -> durability_chain_common -> dur_chain2
      • LCB_CALLBACK_REMOVE -> durability_chain_common -> dur_chain2
      • LCB_CALLBACK_SDMUTATE -> subdoc_callback -> dur_chain2
      • LCB_CALLBACK_COUNTER -> value_callback (Pending PYCBC-1132)
      • LCB_CALLBACK_TOUCH -> keyop_simple_callback

      Attachments

        Issue Links

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

          Activity

            There are no comments yet on this issue.

            People

              jared.casey Jared Casey
              jared.casey Jared Casey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty