Move StorageEngine ownership to ServiceContext from subclasses

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The StorageEngine pointer is currently held and owned by ServiceContext's subclasses, ServiceContextMongoD and ServiceContextEmbedded. These subclasses are superfluous, and should be eliminated. The first step is to move ownership of the StorageEngine object into the ServiceContext class.

      Eventually, the StorageEngine should probably be a decoration, as it does not exist in mongos, but that's less urgent.

            Assignee:
            Andy Schwerin
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: