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

CreateAndConnectAsync ONLY creates CouchbaseBuckets (not MemCache or Ephemeral)

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.0.1
    • 3.0.2
    • None
    • 1

    Description

      In ClusterContext.cs...

      foreach (var server in ClusterOptions.ConnectionStringValue.GetBootstrapEndpoints(ClusterOptions.EnableTls))
      {
      foreach (var type in Enum.GetValues(typeof(BucketType)))

      { bucket = await CreateAndBootStrapBucketAsync(name, server, (BucketType) type).ConfigureAwait(false); return bucket; }

      }

      This always gets the first value out of the enum BucketType, then immediately returns it.

      Attachments

        Issue Links

          For Gerrit Dashboard: NCBC-2509
          # Subject Branch Project Status CR V

          Activity

            There are no comments yet on this issue.

            People

              jmorris Jeff Morris
              richard.ponton Richard Ponton
              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