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.
- is related to
-
SERVER-18084 'Grid' should be dissolved into one or more decorations on ServiceContext
- Closed