What is going wrong?
mongosh doesn't return a count() value. To get the cursor back, must hit ctrl-C.
mongo shell 4.4 works fine
Running embedded mongosh inside Compass 1.28.1 increases CPU over 100%, and control doesn't return either.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Collection has 6 million documents.
See my COMPASS ticket created today
What do you expect to happen?
See the count provided in mongo shell for same collection, 6555160.
What do you observe is happening?
No value shown. Cursor is locked. Ctrl-C pressed to get cursor back.
Any additional information that may be useful to include.