diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-08-30 13:07:33 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-08-30 13:07:33 -0400 |
commit | cc38d23180248e5c5a6b21adf6ee7a2b4e670f0f (patch) | |
tree | 38095936c012a806827dd27a207d226da234e662 /src/mongo/db/startup_warnings_mongod.cpp | |
parent | 7edcfa7cd390ebb2d991a9de529ac0e4f7ee26fe (diff) | |
download | mongo-cc38d23180248e5c5a6b21adf6ee7a2b4e670f0f.tar.gz |
SERVER-24395 Do not display startup warnings when querying for version
Diffstat (limited to 'src/mongo/db/startup_warnings_mongod.cpp')
-rw-r--r-- | src/mongo/db/startup_warnings_mongod.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/startup_warnings_mongod.cpp b/src/mongo/db/startup_warnings_mongod.cpp index 30c8b261fdc..abfc763739f 100644 --- a/src/mongo/db/startup_warnings_mongod.cpp +++ b/src/mongo/db/startup_warnings_mongod.cpp @@ -360,6 +360,13 @@ void logMongodStartupWarnings(const StorageGlobalParams& storageParams, << startupWarningsLog; warned = true; } + + if (p.isDataFileZeroingNeeded()) { + log() << "Hotfix KB2731284 or later update is not installed, will zero-out data files." + << startupWarningsLog; + warned = true; + } + #endif // #ifdef _WIN32 if (storageParams.engine == "ephemeralForTest") { |