loadConfig error

Hello,

since I change the setting of my buckets, I have a lot of errors like this.

"System.IndexOutOfRangeException: Index was outside the bounds of the array.

  • at Couchbase.Utils.ArrayExtensions.AreEqual(Int32 array, Int32 other)*
  • at Couchbase.Configuration.Server.Serialization.VBucketServerMap.Equals(VBucketServerMap other)*
  • at Couchbase.Configuration.CouchbaseConfigContext.LoadConfig(IBucketConfig bucketConfig, Boolean force"*

CouchBase 6.0 CE is installed on a server Windows server 2012. It’s just one node in this architecture.
The buckets had configured with 2 replicas !
I disabled this setting and I launch a “Rebalance”.
then, since this operation, these errors have appeared. The jobs and queries seem not to be impacter, but these errors pollute the logs.
We restarted the CouchBase service, but these errors always appear.

How can I suppress these errors ?

thank for your help

Can you provide an example of the code that causes these exceptions?

Unfortunately no.
many jobs works to upload/retrieve data to/from a CRM or sharepoint.
We have also a back office, but not used a lot.
There are many exceptions per second and the logs don’t indicate the origin.

Are you using .NET SDK 2.7.x or 3.x?

yes we use SDK 2.7.4 with .NET Core 2.2 framework

@silman,

Have you tried upgrading to a more recent version of the SDK? 2.7.4 was released in February 2019 - 2.7.21 is the latest version.

No, this application is in production.
I thought I had forgotten an operation to change the replica option.
ok, I can test the SDK upgrade in my dev environnement
thanks