Cannot bootstrap .NET SDK v3.4.10 against server v7.6.0

Description

.NET SDK 3.4.10 introduced the flag for SnappyEverywhere for Helo, but the actual work involved with running Snappier was not included. For servers pre-7.6.0 this was ignored and works as expected. For the combination of 3.4.10 and server 7.6.0 an AggregateException with the following message is thrown:

Bootstrapping: attempted global bootstrapping on endpoint svc-dqi-node-001.dab-ypzmf2fq07dl.nonprod-project-avengers.com:11207 has failed. {} System.NullReferenceException: Object reference not set to an instance of an object.

The reason being that the server will send back the compressed clustermap config, but the SDK will not be able to decompress the body and an internal JSON parsing error will be thrown and caught, with the NRE being the error exposed to the app layer. The specific commit that introduces the bug in https://couchbasecloud.atlassian.net/browse/NCBC-3427#icft=NCBC-3427 (v3.4.10) and the fix is in https://couchbasecloud.atlassian.net/browse/NCBC-3414#icft=NCBC-3414 (v3.4.11)

Note that this only occurs with .NET SDK v3.4.10 and server v7.6.0; earlier versions (3.4.9 for example) and later versions (3.4.11..for example) will work as expected.

Recommendation: do not use the Couchbase .NET SDK v3.4.10 with Couchbase Server 7.6.0 as they are incompatible.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Attachments

1
  • 16 Mar 2024, 08:56 AM

Activity

Show:

Matt Ingenthron March 18, 2024 at 5:25 AM

Thanks for following up on this so quickly

Richard Smedley March 16, 2024 at 8:56 AM

Release note for 3.4.10 caveated:

Jeffry Morris March 15, 2024 at 9:52 PM

The information in this ticket will be in the 3.5.1 release notes.

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created March 15, 2024 at 9:33 PM
Updated September 27, 2024 at 12:19 PM
Resolved April 10, 2024 at 7:07 PM
Instabug