diff options
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r-- | src/mongo/s/grid.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h index 079ca621a6b..53abf66e483 100644 --- a/src/mongo/s/grid.h +++ b/src/mongo/s/grid.h @@ -85,6 +85,11 @@ public: bool isShardingInitialized() const; /** + * Throws if sharding is not initialized. + */ + void assertShardingIsInitialized() const; + + /** * Used to indicate the sharding initialization process is complete. Should only be called once * in the lifetime of a server. Protected by an atomic access guard. */ |