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

Make global "grid" object a decoration on ServiceContext

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: