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

Invariant that correct service is used on opCtx in ServiceEntryPoint

    • Server Programmability
    • Fully Compatible
    • Programmability 2025-01-06, Programmability 2025-01-20, Programmability 2025-02-03

      ServiceEntryPoints are associated with a Service. We should consider adding an invariant that the opCtx passed to handleRequest is associated with the same Service as the ServiceEntryPoint, to prevent accidental use of the wrong ServiceEntryPoint with a mismatched opCtx. 

            Assignee:
            richy.gerard@mongodb.com Richy Gerard
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: