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

WaitUntilReady failure for 6.5

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 3.1.1
    • None
    • 1

    Description

      Getting an intermittent error when using the WaitUntilReady on the cluster that thinks the server is <6.5, when in fact it is 6.5.

      [1327.40 INFO] (SDKD log:137) fail: SdkdConsole.Daemon.Control[0]
      [1327.40 INFO] (SDKD log:137) Unexpected Exception on Run:One or more errors occurred. (Cluster level WaitUntilReady is only supported by Couchbase Server 6.5 or greater. If you think this exception is caused by another error, please check your SDK logs for detail.)
      [1327.40 INFO] (SDKD log:137) System.AggregateException: One or more errors occurred. (Cluster level WaitUntilReady is only supported by Couchbase Server 6.5 or greater. If you think this exception is caused by another error, please check your SDK logs for detail.)
      [1327.40 INFO] (SDKD log:137) ---> System.NotSupportedException: Cluster level WaitUntilReady is only supported by Couchbase Server 6.5 or greater. If you think this exception is caused by another error, please check your SDK logs for detail.
      [1327.40 INFO] (LineGobbler doFilter:115) +++ Following exception has internal ID: 1
      [1327.40 INFO] (SDKD log:137) at Couchbase.Cluster.WaitUntilReadyAsync(TimeSpan timeout, WaitUntilReadyOptions options) in C:\jenkins\workspace\sdk-net-situational-release\dotnet-situational-all\couchbase-net-client\src\Couchbase\Cluster.cs:line 198
      at SdkdConsole.Daemon.Handle.ClusterAsync(ClusterOptions options) in C:\jenkins\workspace\sdk-net-situational-release\dotnet-situational-all\sdkd-net\src\SdkdConsole\Daemon\Handle.cs:line 322
      [1327.40 INFO] (SDKD log:137) — End of inner exception stack trace —
      [1330.38 INFO] (LineGobbler doFilter:115) +++ Following exception has internal ID: 3
      [1330.38 INFO] (SDKD log:137) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
      at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
      at System.Threading.Tasks.Task`1.get_Result()
      at SdkdConsole.Daemon.Handle.Run() in C:\jenkins\workspace\sdk-net-situational-release\dotnet-situational-all\sdkd-net\src\SdkdConsole\Daemon\Handle.cs:line 98

      Attachments

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

        Activity

          Perhaps this should be reported as a separate issue:

          WaitUntilReadyAsync always fail with Cluster level WaitUntilReady is only supported by Couchbase Server 6.5 or greater if the first node in the comma separated list in the connection string given to Cluster.ConnectAsync is unavailable. I expect it to try the next nodes and if all nodes fail retry (or at least give a more relevant exception).

           

          tommyja Tommy Jakobsen added a comment - Perhaps this should be reported as a separate issue: WaitUntilReadyAsync always fail with Cluster level WaitUntilReady is only supported by Couchbase Server 6.5 or greater if the first node in the comma separated list in the connection string given to Cluster.ConnectAsync is unavailable. I expect it to try the next nodes and if all nodes fail retry (or at least give a more relevant exception).  

          People

            Unassigned Unassigned
            will.broadbelt Will Broadbelt
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty