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

Explore MaxTimeMS handling in thread local scope

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • Query 2020-02-24

      Replacing PooledScope with thread local scope doesn't allow for proper handling of .maxTimeMS() in a find query that contains a $where expression. This caused two test suites to fail that were subsquently blacklisted in SERVER-45454.

      The work here should investigate how to correctly support MaxTimeMS in the js thread local scope machinery.

      See SERVER-45454 for the relevant tests that were blacklisted.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: