[COMPASS-4638] Update time out error if query exceeds the MAX TIME MS to be consistent with Schema tab Created: 15/Feb/21  Updated: 03/Oct/23  Resolved: 17/Aug/22

Status: Closed
Project: Compass
Component/s: Query
Affects Version/s: 1.26.0
Fix Version/s: 1.33.0

Type: Bug Priority: Major - P3
Reporter: Olena Protsiuk (Inactive) Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File MongoDB Compass Dev - Enterprise 1.25.0 TestDb.25mln 2021-02-09 17-37-56.png     PNG File MongoDB Compass expected message.png    
Issue Links:
Related
is related to COMPASS-4154 Blank Analyze Schema Closed
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Yonkers

 Description   

Issue found in 1.26.0-beta.0

Steps to Reproduce

  1. Open any collection with documents
  2. Add some filter to the query bar
  3. Set MAX TIME MS to some small value for e.g 6 to get timeout
  4. Click Find to run a query

Expected Results

"Operation exceeded time limit. Please try increasing the maxTimeMS for the query in the filter options." error message highlighted with yellow should appear, to be consistent with the Schema tab when query times out while schema analysing.

Actual Results

"Executor error during find command :: caused by :: operation exceeded time limit" error message highlighted with red appears.



 Comments   
Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-crud): Add error message hint for crud timeout message COMPASS-4638 (#3355)
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/77b48d8d85a531feb617b427679a2d4c112eace9

Comment by Githook User [ 31/Aug/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-crud): Add error message hint for crud timeout message COMPASS-4638 (#3355)
Branch: 1.33-releases
https://github.com/mongodb-js/compass/commit/77b48d8d85a531feb617b427679a2d4c112eace9

Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-crud): Add error message hint for crud timeout message COMPASS-4638 (#3355)
Branch: compass-settings
https://github.com/mongodb-js/compass/commit/77b48d8d85a531feb617b427679a2d4c112eace9

Comment by Githook User [ 18/Aug/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-crud): Add error message hint for crud timeout message COMPASS-4638 (#3355)
Branch: COMPASS-5978-new-indexes-modal-designs
https://github.com/mongodb-js/compass/commit/77b48d8d85a531feb617b427679a2d4c112eace9

Generated at Wed Feb 07 22:36:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.