summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_explain_cmd.cpp
diff options
context:
space:
mode:
authorYoonsoo Kim <yoonsoo.kim@mongodb.com>2021-07-20 12:00:17 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-20 12:32:04 +0000
commit16b68612e80eb388e8a6f495fc0fa1b28898eaeb (patch)
treeed7aefcb24706bace1f4e24868c5bb68de13edce /src/mongo/s/commands/cluster_explain_cmd.cpp
parent087c24f14c4dca91eade6dff3563649f6edbe6c7 (diff)
downloadmongo-16b68612e80eb388e8a6f495fc0fa1b28898eaeb.tar.gz
SERVER-58566 Clean up the shell code so that it does not issue any OP_QUERY request except hello/isMaster
Diffstat (limited to 'src/mongo/s/commands/cluster_explain_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_explain_cmd.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/s/commands/cluster_explain_cmd.cpp b/src/mongo/s/commands/cluster_explain_cmd.cpp
index 287ec9902d7..9ee65bdbc49 100644
--- a/src/mongo/s/commands/cluster_explain_cmd.cpp
+++ b/src/mongo/s/commands/cluster_explain_cmd.cpp
@@ -40,15 +40,6 @@ namespace {
/**
* Implements the explain command on mongos.
- *
- * "Old-style" explains (i.e. queries which have the $explain flag set), do not run
- * through this path. Such explains will be supported for backwards compatibility,
- * and must succeed in multiversion clusters.
- *
- * "New-style" explains use the explain command. When the explain command is routed
- * through mongos, it is forwarded to all relevant shards. If *any* shard does not
- * support a new-style explain, then the entire explain will fail (i.e. new-style
- * explains cannot be used in multiversion clusters).
*/
class ClusterExplainCmd final : public Command {