The Grid class used by sharding is currently a mix of storage for sharding-global objects plus some code, which will eventually go away.
This ticket is to move all such code out of grid.cpp and turn the Grid class into one or more decorations on ServiceContext.
- related to
SERVER-23534 move miscellaneous methods off Grid
SERVER-35445 Make global "grid" object a decoration on ServiceContext