Refresh the database list in the connection tree on refresh

Ignas shared this problem 4 years ago
Not a Problem

Problem: When I delete a database in a replica set and press Cmd+R (Refresh action) the database is still shown in the connection tree.

Idea: After connection tree refresh the actual list of databases should be shown. This should work with single instances, replica sets and sharded cluster.

Thank you!

Replies (3)

photo
1

When you press Cmd+R, what node is the focused node of the connection tree?

In the current version, the list of databases will be refreshed only when the selected node is the root node of the connection tree (object explorer).

photo
1

Ok I understand now that if I delete the database and want to see the updated database list in the object explorer, I must select the connection object (admin@mongo1) and then the refresh works. Only the selected object and children are refreshed, due to performance reasons probably. That's logical. Thank you for explanation.

photo
1

Yes, a full refresh of the object tree may cause performance issues, so only the selected object and children will be refreshed.

Leave a Comment
 
Attach a file