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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5.1
    • None
    • docs
    • None
    • 0
    • SDK12: Scp Fnc, FIT, Misc, SDK14: CLoE + Others

    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 NCBC-3427 (v3.4.10) and the fix is in 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.

      Attachments

        Issue Links

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

          Activity

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty