Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-274

Handle injecting errors in transactions better

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • 1.0.0
    • 1.0.0-dp.2
    • transactions

    Description

      Currently, the client can throw an exception in the lambda, to force a rollback (with no retry). Lets allow them to set an error_code of their own, and (perhaps) whether or not to retry, etc... Similar to what go sdk does. Should make the fit performer a bit cleaner in its implementation of how to deal with propagate_error as well.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes