microsoft / vscode-cosmosdb

Azure Databases extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb
MIT License
156 stars 68 forks source link

Fail to create a new graph for the attached "Serverless" capacity model Gremlin account #2134

Open v-xinda opened 1 year ago

v-xinda commented 1 year ago

OS: Win10 Build Version: 20230604.1 Regression: Not a regression

Repro steps:

  1. Create a Gremlin account with Serverless capacity model.
  2. Attach it.
  3. Right click the attached Gremlin account -> Create Database... -> Enter a name.
  4. Right click the database -> Create Graph...-> Enter an id for the Graph -> Enter a partition key.
  5. Check whether there is no extra step.

Expect: There is no extra step.

Actual:

  1. There is an extra step "Initial throughout capacity". image
  2. Fail to create a graph. image Details in Output:
    Error: Setting offer throughput or autopilot on container is not supported for serverless accounts.
    ActivityId: e41a663d-823f-428f-b0de-87dbc8c428e5, Microsoft.Azure.Documents.Common/2.14.0

More Info:

  1. This issue doesn't reproduce for the Gremlin account created with Provisioned Throughput capacity model.
  2. Before attaching, there is no extra step "Initial throughout capacity" when creating a collection.
nturinski commented 1 year ago

May be related: https://github.com/microsoft/vscode-cosmosdb/issues/1552