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

server timeouts are hardcoded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.1.0
    • library
    • None
    • 1
    • SDK39

    Description

      server timeouts are hardcoded to 75 seconds in many places

      e.g. in MultiplexingConnection we have _statesInFlight.Add(state, 75000)

      if an operation is called with a larger timeout, it is not respected and the operation can fail due to timeout before it is expected.

      e.g ExistsAsync with timeout 120s can timeout after only 75 seconds

      the SDK logs this when it happens:

      ClusterNode | Server 10.0.0.4:11210 returned OperationTimeout for op GetMeta with key

      The operation should probably be retried in this case

       

       

       

       

       

       

       

       

       

       

       

       

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            tommyja Tommy Jakobsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty