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

Add a max_attempts to exp_delay

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.0.0-dp.12
    • None
    • transactions
    • None

    Description

      This is minor, but the current exp_delay (used for exponential backoff in core loop) has a timeout.  We should have an option, at least, for a max attempts instead/in addition.  The core loop times out itself, so the exponential delay need not enforce that.  But it is nice to have a backup plan which at least keeps it from spinning forever.   Currently, it times out at 2x the expiration_time for the txn.  That's fine, for now, but fairly cheesy.

      Also - when this does happen, we need to deal with the exception in a way that we are sure the logging will make clear what happened.  

       

       

       

       

      Attachments

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

        Activity

          People

            matt.wozakowski Matt Wozakowski
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes