Hi,
Whatever I specify in Client Configuration for the bucket name, it always works, especially if the bucket doesn’t exist for that name. It seems to fallback to the default bucket. Which is crap because it could produce unexpected results if I store values in the default bucket but I explicitly configure it to not use “default”
Here is the configuration I tested with. Neither “no” nor “blablabla” exists on my couchbase server. I only have a default bucket.
var clientConfiguration = new ClientConfiguration()
{
Servers = new List<Uri>()
{
new Uri("http://192.168.178.27:8091/pools")
},
UseSsl = false,
BucketConfigs = new Dictionary<string, BucketConfiguration>
{
{"no", new BucketConfiguration
{
BucketName = "blabla",
UseSsl = false,
PoolConfiguration = new PoolConfiguration
{
MaxSize = 10,
MinSize = 5
}
}}
}
};
Is this the expected behavior?