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

Client configuration is null when specifying bucket configs in ClientConfiguration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.4.5
    • 2.4.4
    • None
    • None

    Description

      Specifying a BucketConfig when creating a ClientConfiguration seems to not set the PoolConfiguration's ClientConfiguration property. This doesn't happy if a custom BucketConfig is not set.

      For example:

      var config = new ClientConfiguration
      {
          Servers = new List<Uri> {new Uri("http://localhost:8091/pools")},
          BucketConfigs = new Dictionary<string, BucketConfiguration>
          {
              {"default", new BucketConfiguration {UseKvErrorMap = true}}
          }
      };
      var cluster = new Cluster(config);
      cluster.OpenBucket("default");
      

      Attachments

        Issue Links

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

          Activity

            People

              mike.goldsmith Michael Goldsmith
              mike.goldsmith Michael Goldsmith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty