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

Deduplicate multiply defined member functions of the mongo::Command class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Internal Code
    • None
    • Fully Compatible

    Description

      The Command class methods Command::registerError, Command::findCommand, and Command::execCommand are currently implemented differently in mongod and mongos. This means that any library that depends on the Command class cannot fully express its dependencies, since it cannot know whether it is ultimately to be linked into mongod or mongos. We should either find a way to unify the implementations, or find a way to dependency inject different helper implementations.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-platform DO NOT USE - Backlog - Platform Team
              andrew.morrow@mongodb.com Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: