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

Move StorageEngine ownership to ServiceContext from subclasses

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.0.0-rc0
    • None
    • Storage
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: