Change $where to respect socket disconnection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.8
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • Service Arch 2019-01-28, Service Arch 2019-02-11, Service Arch 2019-02-25
    • 68
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $where can normally only detect disconnection through invocation of it's kill() method.

      changing the proxy scope to wait on an opCtx would allow us to detect disconnect normally (by allowing us to do baton work while javascript was executing) and issue a kill to the implscope from the proxy scope

              Assignee:
              Mira Carey
              Reporter:
              Mira Carey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: