microsoft / vscode-cosmosdb

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

More than one database shows "connected" in the attached MongoDB account #2288

Open v-ruizh opened 1 month ago

v-ruizh commented 1 month ago

OS: Win10 Build Version: 20240706.1 Regression: Not a Regression

Repro Steps:

  1. Attach one MongoDB account.
  2. Navigate to "WORKSPACE" view and create several databases for the above attached account.
  3. Right click one database and select "Connect to Database...".
  4. Connect to other databases one by one.
  5. Check whether just the last database is connected.

Expect: The last database is connected.

Actual: All databases show "Connected". testdata1

More Info:

  1. Refresh the "WORKSPACE" view can fix this issue.
  2. This issue also reproduces for the non-attached MongoDB account, but it will be refreshed automatically within 5 seconds. testdata