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

Replace AlternativeOpCtx with AlternativeClientRegion

    • Fully Compatible
    • Repl 2019-02-11

      A Client is an ordered sequence of OperationContexts, at most one of which is currently active. Developers are allowed to rely on the assumption that an OperationContext will only be current on a Client for one contiguous interval of time. AlternativeOpCtx violates this design and may cause issue for interruptibility and currentOp reporting.
       
      Instead, AlternativeClientRegion should be used to start a new Client to do the job.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: