Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1373

KV operations on scope and/or collection that doesn't exist should retry till timeout

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.7
    • 3.1.2
    • library
    • None
    • 1

    Description

      When implementing transactions, I noticed that the fit performer tests expected a kv operation against a collection/scope that doesn't exist to retry until the operation times out.  However, lcb returns an LCB_ERR_SCOPE_NOT_FOUND or LCB_ERR_COLLECTION_NOT_FOUND in this situation.  The tests verify it: https://github.com/couchbase/libcouchbase/blob/7f0afd1bc7b647aec4f4b12532a8afccafa2c1b2/tests/iotests/t_collections.cc#L240 for instance.  

      Checking with other sdks, go and java both would retry internally until the op times out.  I've worked around it in the client for txns for now, but I'd love to remove my workaround.

      Attachments

        Issue Links

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

          Activity

            david.kelly David Kelly created issue -
            avsej Sergey Avseyev made changes -
            Field Original Value New Value
            Status New [ 10003 ] Open [ 1 ]
            avsej Sergey Avseyev made changes -
            Fix Version/s 3.1.1 [ 17272 ]
            avsej Sergey Avseyev made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            david.kelly David Kelly made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            avsej Sergey Avseyev made changes -
            Fix Version/s 3.1.2 [ 17456 ]
            Fix Version/s 3.1.1 [ 17272 ]
            avsej Sergey Avseyev made changes -
            Link This issue relates to CCBC-1330 [ CCBC-1330 ]
            avsej Sergey Avseyev made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            jared.casey Jared Casey made changes -
            Link This issue relates to PYCBC-1123 [ PYCBC-1123 ]

            People

              avsej Sergey Avseyev
              david.kelly David Kelly
              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