-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.44.3
-
Component/s: Embedded Shell
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Iteration Kuiper Belt, Iteration Light Year, Iteration Milky Way
-
Not Needed
-
Developer Tools
Problem Statement/Rationale
When opening the embedded shell on a collection it silently runs the use db command, with the db.collection.find() populated. When the use command completes it then shows that it was run. This is confusing for slower connections, and caused me to run the find against my test database since it hadn't completed the use command yet.
Steps to Reproduce
- Use a remote cluster Compass connection, with higher latency (or simulate the latency)
- Open the embedded shell on a collection
- Observe that after a few seconds the use db command completes.
Expected Results
Show that the use db command is in progress / connecting and block user input until it completes.