summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_find_cmd.h
diff options
context:
space:
mode:
authorAdrian Gonzalez <adriangonzalezmontemayor@gmail.com>2023-03-23 15:57:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-01 01:00:29 +0000
commit8177dc0ecccc852f65519dcca19edb7556ceecb3 (patch)
tree79dc12fd603442f7f0052fa3b8aef30e25e39a7a /src/mongo/s/commands/cluster_find_cmd.h
parent480606fd747a45ca1768bff3ee5eb8fd604030a6 (diff)
downloadmongo-8177dc0ecccc852f65519dcca19edb7556ceecb3.tar.gz
SERVER-74960 Filter out QE plans from planCacheStats
Diffstat (limited to 'src/mongo/s/commands/cluster_find_cmd.h')
-rw-r--r--src/mongo/s/commands/cluster_find_cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_find_cmd.h b/src/mongo/s/commands/cluster_find_cmd.h
index e75ff18fe0b..3b0ff62100c 100644
--- a/src/mongo/s/commands/cluster_find_cmd.h
+++ b/src/mongo/s/commands/cluster_find_cmd.h
@@ -300,6 +300,7 @@ public:
if (shouldDoFLERewrite(findCommand)) {
invariant(findCommand->getNamespaceOrUUID().nss());
+ CurOp::get(opCtx)->debug().shouldOmitDiagnosticInformation = true;
processFLEFindS(
opCtx, findCommand->getNamespaceOrUUID().nss().get(), findCommand.get());
_didDoFLERewrite = true;