-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Performance
-
Environment:OS:
node.js / npm versions:
Additional info:
-
3
-
Not Needed
-
Developer Tools
Problem Statement/Rationale
Compass Performance Monitor throws an error when there is a running operation having bsonRegExp
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
- Run the following snippet in a mongosh terminal connected to a mongodb deployment:
db.coll.insertOne({});
db.coll.find({$where: function() { sleep(20000) }}).projection({re: BSONRegExp('^(?i)\\Qchho0842\\E')})
- Open Compass and connect to the same deployment
- Open Performance Monitor tab and notice the error popping up
Expected Results
We expect compass to correctly be able to open performance monitor tab without any errors.
Actual Results
An error is popping up and the tab does not load
Additional Notes
Any additional information that may be useful to include.
- duplicates
-
COMPASS-8232 Compass Performance Monitor Fails with Regular Expression Queries
- Closed
- related to
-
MONGOSH-1703 mongosh crash when converting invalid regular expression in db.currentOp()
- Closed