WaitUntilReady failure for 6.5

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

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Tommy Jakobsen December 14, 2020 at 1:50 PM

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).

 

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 18, 2020 at 11:46 AM
Updated December 15, 2020 at 1:15 AM
Resolved December 15, 2020 at 1:15 AM
Instabug