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

GetNodes() sometimes returns no results, incorrectly.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0.0
    • library
    • localhost
    • 1

    Description

      When run against a single node running on localhost, any attempt to run QueryAsync results in "Couchbase.ServiceNotAvailableException : Service n1ql not available".

       

      In ClusterContext.cs around line 252:

      foreach (var nodeAdapter in GlobalConfig.GetNodes())
      
      

      GlobalConfig.GetNodes() returns no results, resulting in node.NodesAdapter remaining null, resulting in node.HasQuery returning false.

      Attachments

        Issue Links

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

          Activity

            People

              richard.ponton Richard Ponton
              richard.ponton Richard Ponton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty