Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1776

Async KV operations do not fast-fail after timeout duration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • .backlog
    • None
    • None
    • None
    • 1

    Description

      KV operations do not fast-fail when the operation timeout has been reached, whether the timeout is provided by application code, or the default operation timeout is used.

      • Config.SendTimeout (default of 15 seconds) is the primary wait if there is lag / no response from the server
      • Pending operations are only removed after the SendTimeout has elapsed (15 seconds) which means they go down the successful path
      • Operation.Timeout is only checked after a result has been received and to determine if a failed request can be retried

      KV operations should use the provided timeout value and fast-fail with a SendTimeoutException. When a timeout occurs, it should be removed from the pending operations list, so if a server response is received later it is not treat as successful.

      Attachments

        Issue Links

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

          Activity

            People

              mike.goldsmith Michael Goldsmith
              mike.goldsmith Michael Goldsmith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty