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

Replace AlternativeOpCtx with AlternativeClientRegion

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2019-02-11

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: