diff options
Diffstat (limited to 'src/mongo/db/sessions_collection_config_server.h')
-rw-r--r-- | src/mongo/db/sessions_collection_config_server.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/sessions_collection_config_server.h b/src/mongo/db/sessions_collection_config_server.h index 701d055772a..d7ee8d3fb63 100644 --- a/src/mongo/db/sessions_collection_config_server.h +++ b/src/mongo/db/sessions_collection_config_server.h @@ -53,7 +53,7 @@ public: * * If there are no shards in this cluster, this method will do nothing. */ - Status setupSessionsCollection(OperationContext* opCtx) override; + void setupSessionsCollection(OperationContext* opCtx) override; /** * Checks if the sessions collection exists. @@ -61,8 +61,8 @@ public: Status checkSessionsCollectionExists(OperationContext* opCtx) override; private: - Status _shardCollectionIfNeeded(OperationContext* opCtx); - Status _generateIndexesIfNeeded(OperationContext* opCtx); + void _shardCollectionIfNeeded(OperationContext* opCtx); + void _generateIndexesIfNeeded(OperationContext* opCtx); Mutex _mutex = MONGO_MAKE_LATCH("SessionsCollectionConfigServer::_mutex"); }; |