Rebalances only involving non-Data nodes are ignored by the SDK

Description

When performing a rebalance which adds a query node to the cluster, the SDK never begins using that query node. If all query nodes are replaced, queries stop functioning altogether.

Here is a portion of a log where we added a query node and rebalanced. We ran diagostic pings through the SDK before and after the node was added, they included the same query nodes and the after case did not include the new node.

2020-02-19T20:37:22.6044267Z Couchbase.Configuration.Server.Monitoring.ConfigMonitor Checking configs... 2020-02-19T20:37:22.6045092Z Couchbase.Configuration.Server.Monitoring.ConfigMonitor Using index 3 - server "Couchbase.Core.Server" 2020-02-19T20:37:22.6045665Z Couchbase.Core.Server Sending "Config" with key "" using server "10.74.2.35:11210" 2020-02-19T20:37:22.6218485Z Couchbase.Configuration.Server.Monitoring.ConfigMonitor Checking config with revision #118606 2020-02-19T20:37:22.6218921Z Couchbase.Core.ClusterController Queueing config rev#118606 for ["General"]. 2020-02-19T20:37:22.6219446Z Couchbase.Core.ClusterController Processing config rev#118606 2020-02-19T20:37:22.6219442Z Couchbase.Configuration.Server.Monitoring.ConfigMonitor Using index 0 - server "Couchbase.Core.Server" 2020-02-19T20:37:22.6220048Z Couchbase.Core.Server Sending "Config" with key "" using server "10.74.2.5:11210" 2020-02-19T20:37:22.6229297Z Couchbase.Configuration.Server.Providers.ConfigProviderBase 1. Checking config ["General"] with rev#118606 on thread 15 2020-02-19T20:37:22.6229833Z Couchbase.Configuration.Server.Providers.ConfigProviderBase 2. Checking config ["General"] with rev#118606 on thread 15 2020-02-19T20:37:22.6350611Z Couchbase.Configuration.ConfigContextBase Only the revision changed from using rev#118604 to rev#118606 2020-02-19T20:37:22.6352950Z Couchbase.CouchbaseBucket Config updated old/new: 118606, 118606 2020-02-19T20:37:22.6353360Z Couchbase.Configuration.Server.Providers.ConfigProviderBase 3. Completed checking config ["General"] with rev#118606 on thread 15 2020-02-19T20:37:22.6353673Z Couchbase.Configuration.Server.Providers.ConfigProviderBase Current cluster nodes: System.Linq.Enumerable+SelectListIterator`2[Couchbase.Core.IServer,System.String]

Environment

Docker container running .NET Core 2.2 Couchbase Server EE 6.0.2 MDS cluster, all services on separate servers Bootstrapped using CCCP

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Brant Burnett February 22, 2024 at 6:43 PM

2.x is deprecated

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Brant Burnett

Reporter

Labels

Story Points

Components

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 21, 2020 at 4:58 PM
Updated February 22, 2024 at 6:43 PM
Resolved February 22, 2024 at 6:43 PM
Instabug