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

Change $where to respect socket disconnection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      $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@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: