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

Remove AutoCompactionSettings and FastWarmupSettings from IBucketConfig

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.1
    • 2.0.0
    • library
    • None

    Description

      In some cases the server returns a boolean value for these config elements and at other times it sends an object. During serialization, the client will throw an exception of it receives a type that it doesn't expect:

      Newtonsoft.Json.JsonSerializationException: Error converting value False to type 'Couchbase.Configuration.Server.Serialization.FastWarmupSettings'. Path '[0].fastWarmupSettings', line 1, position 1899. ---> System.ArgumentException: Could not cast or convert from System.Boolean to Couchbase.Configuration.Server.Serialization.FastWarmupSettings.

      Since the client does not use these settings, they can be removed.

      Attachments

        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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty