diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2019-09-24 15:22:47 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-24 15:22:47 +0000 |
commit | ccbc2473f57504f9ce08096efd000fb37a9e90fc (patch) | |
tree | f653e6dc7250224d9337f1b12cadc744a0c2e086 /src/mongo/db/commands/validate.cpp | |
parent | 186c4c38ad72cd33b71ff4807f15fec1e35d1db5 (diff) | |
download | mongo-ccbc2473f57504f9ce08096efd000fb37a9e90fc.tar.gz |
SERVER-43574 validate cmd must open oplog collection cursors before accessing any other collection in the same WT txn
Diffstat (limited to 'src/mongo/db/commands/validate.cpp')
-rw-r--r-- | src/mongo/db/commands/validate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/commands/validate.cpp b/src/mongo/db/commands/validate.cpp index 482baff8b74..796dd204996 100644 --- a/src/mongo/db/commands/validate.cpp +++ b/src/mongo/db/commands/validate.cpp @@ -135,7 +135,8 @@ public: } if (!serverGlobalParams.quiet.load()) { - LOG(0) << "CMD: validate " << nss.ns(); + LOG(0) << "CMD: validate " << nss.ns() << (background ? ", background:true" : "") + << (fullValidate ? ", full:true" : ""); } // Only one validation per collection can be in progress, the rest wait. |