CreateAndConnectAsync ONLY creates CouchbaseBuckets (not MemCache or Ephemeral)

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.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

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

Details

Assignee

Reporter

Labels

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 18, 2020 at 4:23 PM
Updated May 27, 2020 at 4:25 AM
Resolved May 27, 2020 at 4:25 AM
Instabug