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

Query does not recover after service restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      2.3.0
    • Sprint:
      SDK50: Sample App, DNS-SRV

      Description

      After couchbase server restart, query fails always with Couchbase.N1QL.QueryClient - System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
      Logs http://sdk-testresults.couchbase.com.s3.amazonaws.com/201669154343161-1.gz

        Attachments

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

          Activity

          Hide
          jmorris Jeff Morris added a comment -

          This appears to be related somehow to MOI.

          Show
          jmorris Jeff Morris added a comment - This appears to be related somehow to MOI.
          Hide
          mike.goldsmith Michael Goldsmith added a comment -

          I tried to look through this code but struggled to see the problem. Please can you give me a hand Jeff Morris?

          Show
          mike.goldsmith Michael Goldsmith added a comment - I tried to look through this code but struggled to see the problem. Please can you give me a hand Jeff Morris ?
          Hide
          jmorris Jeff Morris added a comment -

          Moving out to 2.4.0.

          Show
          jmorris Jeff Morris added a comment - Moving out to 2.4.0.
          Hide
          mike.goldsmith Michael Goldsmith added a comment -

          I've created a commit that improves logging as we what is happening is that a N1QL query is being retried, but as the requests are failing eventually all the Query URIs are being treated as invalid. When this happens a null string is being used to try and send the request using the HttpClient and the InvalidOperationException is being thrown.

          The change is to log when an invalid query URI has been retrieved and return a failed result instead.

          Show
          mike.goldsmith Michael Goldsmith added a comment - I've created a commit that improves logging as we what is happening is that a N1QL query is being retried, but as the requests are failing eventually all the Query URIs are being treated as invalid. When this happens a null string is being used to try and send the request using the HttpClient and the InvalidOperationException is being thrown. The change is to log when an invalid query URI has been retrieved and return a failed result instead.

            People

            • Assignee:
              mike.goldsmith Michael Goldsmith
              Reporter:
              subhashni Subhashni Balakrishnan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 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.