Skip to content

Commit

Permalink
SERVER-35222 Make sure that SessionsCollectionConfigServer will shard…
Browse files Browse the repository at this point in the history
… config.system.sessions for the first time
  • Loading branch information
renctan committed Aug 28, 2018
1 parent 428db10 commit ce06026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mongo/db/sessions_collection_config_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class SessionsCollectionConfigServer : public SessionsCollectionSharded {
Status _generateIndexesIfNeeded(OperationContext* opCtx);

stdx::mutex _mutex;
bool _collectionSetUp;
bool _collectionSetUp{false};
};

} // namespace mongo

0 comments on commit ce06026

Please sign in to comment.