Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36748

memory.js should verify that the ooming $where actually ooms

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.12
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2018-11-19, Service Arch 2018-12-03, Service Arch 2018-12-17, Service Arch 2018-12-31, Service Arch 2019-01-14, Service Arch 2019-01-28, Service Arch 2019-02-11, Service Arch 2019-02-25, Dev Tools 2019-04-08, Service Arch 2019-03-11, Dev Tools 2019-05-06, Dev Tools 2019-05-20, Dev Tools 2019-04-22
    • 13

      memory.js forces an oom in a $where which can actually fail with interrupted. That can cause the next operation to oom when it uses the previous scope.

      Forcing a gc before every query isn't reasonable, and the test pushes right up to system limits, so there probably isn't a good argument for fixing anything outside the test. But it would at least be good to know that the $where timed out, rather than ooming

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: