Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
1
Description
class Program |
{
|
static async Task Main(string[] args) |
{
|
try |
{
|
var cluster = await Couchbase.Cluster.ConnectAsync("couchbase://localhost", "Administrator", "password"); |
var idxmgr = cluster.QueryIndexes;
|
await idxmgr.CreatePrimaryIndexAsync("travel"); |
}}}
|
Attempt to create a primaryIndex when already exists should raise an QueryIndexAlreadyExists Exception instead it ends up in a InternalServerFailureException