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

Make global "grid" object a decoration on ServiceContext

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.1
    • Sharding
    • None
    • Fully Compatible

    Description

      Making the grid object a decoration on the ServiceContext ties its lifetime to the ServiceContext, which in turn makes it easier to create and destroy ServiceContexts in unit tests. This will allow a future simplification of unit test code, and is also more consistent with modern MongoDB coding practices.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: