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

Collection.get_and_lock should not get and lock in 2 commands

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.0-rc
    • 3.0.0-beta.3
    • None
    • None
    • 1

    Description

      Seems it currently was implemented to make 2 calls, rather than one. But most if not all we need for one call seems to exist in the bindings. Lets add a get_and_touch (note there is a PYCBC_CMD_GAT which fits the bill, we probably just need to add a function that maps to it, and the be sure it actually works).

      The current work that touches on get_and_lock (along with others) – PYCBC-818 – should be done first. We could do this right after, or depending on other priorities it could be done later.

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            david.kelly David Kelly (Inactive)
            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