Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4638

Update time out error if query exceeds the MAX TIME MS to be consistent with Schema tab

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.33.0
    • Affects Version/s: 1.26.0
    • Component/s: Query
    • None
    • 2
    • Iteration Yonkers
    • Not Needed

      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.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            olena.protsiuk@mongodb.com Olena Protsiuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: