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

Can't paginate through view results

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.35.0
    • Affects Version/s: 1.34.1
    • Component/s: CRUD
    • Labels:
      None
    • 3
    • Not Needed
    • Iteration Ragfish

      Originally reported in Slack by emil.zegers@mongodb.com

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      I save the output of an Aggregation pipeline created in Compass to a View and then open it. I can only access the first page with 20 results, not browse to the next. The View has 11000+ Documents. If I run db.collection.find({}).limit(30) I get 30 results (first 20, Type "it" for more, next 10). The View does not report total number of Documents, says N/A, see image. Has somebody else seen this behaviour too? I do not remember if viewing Views in Compass works different than regular Collections.

      Please be sure to attach relevant logs with any sensitive data redacted.

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      (max) I could not reproduce it on my side. The closest I got is by setting a small enough maxTimeMS when looking at a view on sample_mflix.movies that makes the count time out and N/A being displayed. In that case, I can't go to the next page.

      Expected Results

      What do you expect to happen?

      I can paginate through results even if I can't see how many results there are.

      Actual Results

      What do you observe is happening?

      "Next page" control is disabled.

      Additional Notes

      Any additional information that may be useful to include.

        1. 6387c67aa528146791f41818_log
          512 kB
        2. image (5).png
          image (5).png
          691 kB
        3. Project Name.mp4
          1.29 MB

            Assignee:
            basit.chonka@mongodb.com Basit Chonka
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: