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

Annotate OperationContext with Command details

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Fully Compatible

      The Command infrastructure uses a combination of OperationContext, OpMsgRequest, and CommandInvocation, all by pointer or reference, for many function signatures. However, both the OMR and the CI have well defined lifetimes and factory functions. We can annotate the OperationContext with pointers to the other two types and reset those pointers when the underlying memory goes out of scope. This will allow us to tremendously simplify the api around commands.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: