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

allowDiskUse error message in compass log and mongod log

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.33.1
    • Component/s: Logging
    • Environment:
      macOS 12.6.1
      Compass 1.33.1
    • 1

      Problem Statement/Rationale

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

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

      Expected Views to be able to use allowDiskUse for pipeline.

      https://www.mongodb.com/docs/manual/core/views/#view-pipelines

      Understood allowDiskUse is automatically included in all queries but pipeline options are not provided in log file. mongod.log file shows allowDiskUse not used.

      Steps to Reproduce

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

      Create a large database

      Create a view that generates a result that would use 100MB of memory.

      Expected Views to be able to use allowDiskUse and option would be automatically applied.

      Expected Results

      What do you expect to happen?

      allowDiskUse to be applied to query

      Actual Results

      What do you observe is happening?

      UI had the allowDiskUse error when the View was first created. However, only the log lines are reflected in saved View.

      Additional Notes

      Any additional information that may be useful to include.

        1. 63740a168f4dd083df189661_log.gz
          7 kB
        2. mongod.log
          54 kB
        3. Screen Shot 2022-11-15 at 2.54.18 PM.png
          Screen Shot 2022-11-15 at 2.54.18 PM.png
          756 kB
        4. Screen Shot 2022-11-15 at 2.54.34 PM.png
          Screen Shot 2022-11-15 at 2.54.34 PM.png
          660 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: