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

Collection.get_all_replicas needs proper implementation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.0-rc
    • None
    • None
    • None
    • 1
    • SDK3: Docs

    Description

      The existing C bindings deliver just one document, so we currently raise a NotImplemented until correcting this.

      The fix could be just properly getting the LCB_REPLICA_MODE_ALL properly passed into LCB, except that the value callback tries to make a dict keyed on the document key. So, even if the value callback does get called multiple times, it will overwrite the others. So probably that callback needs to be more clever as well.

      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