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

RequestExecutorBase doesn't set query timeout when passed in token is cancellable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      The RequestExecutorBase has a utility function that managed cancellation tokens, where by it receives a cancelaltion token as an input argument (may be CancellationToken.None) and created a linked Token Source. However, it should always set the new token source's timeout to the query request timeout but only does it if the passed in token is not cancellable (ie a default value).

      This new linked token source should always set the timeout using the request timeout.

        Attachments

        For Gerrit Dashboard: NCBC-1710
        # Subject Branch Project Status CR V

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              btburnett3 Brant Burnett
              Reporter:
              mike.goldsmith Michael Goldsmith
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.