summaryrefslogtreecommitdiff
path: root/src/mongo/s/grid.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2016-03-23 17:32:02 -0400
committerRandolph Tan <randolph@10gen.com>2016-04-08 13:50:53 -0400
commitbbaf069f100e86664b7795d097f0c802fe3965df (patch)
tree150693d456180395fa99672115417b48ca7485e9 /src/mongo/s/grid.h
parent11132f69c93a279ebe7f0ccb71929d4cd2b8675d (diff)
downloadmongo-bbaf069f100e86664b7795d097f0c802fe3965df.tar.gz
SERVER-22661 Require --shardsvr for shard aware initialization
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r--src/mongo/s/grid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h
index 4e0fa38728b..1db22f630e8 100644
--- a/src/mongo/s/grid.h
+++ b/src/mongo/s/grid.h
@@ -102,6 +102,8 @@ public:
* be necessary if grid is hanging off the global ServiceContext and each test gets its
* own service context.
*
+ * Note: shardRegistry()->shutdown() must be called before this method is called.
+ *
* NOTE: Do not use this outside of unit-tests.
*/
void clearForUnitTests();