summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_write_cmd_s.cpp
diff options
context:
space:
mode:
authorJennifer Peshansky <jennifer.peshansky@mongodb.com>2022-11-03 16:13:20 +0000
committerJennifer Peshansky <jennifer.peshansky@mongodb.com>2022-11-03 16:13:20 +0000
commite74d2910bbe76790ad131d53fee277829cd95982 (patch)
treecabe148764529c9623652374fbc36323a550cd44 /src/mongo/s/commands/cluster_write_cmd_s.cpp
parent280145e9940729480bb8a35453d4056afac87641 (diff)
parentba467f46cc1bc49965e1d72b541eff0cf1d7b22e (diff)
downloadmongo-e74d2910bbe76790ad131d53fee277829cd95982.tar.gz
Merge branch 'master' into jenniferpeshansky/SERVER-70854jenniferpeshansky/SERVER-70854
Diffstat (limited to 'src/mongo/s/commands/cluster_write_cmd_s.cpp')
-rw-r--r--src/mongo/s/commands/cluster_write_cmd_s.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_write_cmd_s.cpp b/src/mongo/s/commands/cluster_write_cmd_s.cpp
index f9b8c8020b3..c7c5781f8c0 100644
--- a/src/mongo/s/commands/cluster_write_cmd_s.cpp
+++ b/src/mongo/s/commands/cluster_write_cmd_s.cpp
@@ -48,6 +48,10 @@ struct ClusterInsertCmdS {
static void checkCanRunHere(OperationContext* opCtx) {
// Can always run on a mongos.
}
+
+ static void checkCanExplainHere(OperationContext* opCtx) {
+ // Can always run on a mongos.
+ }
};
ClusterInsertCmdBase<ClusterInsertCmdS> clusterInsertCmdS;
@@ -67,6 +71,10 @@ struct ClusterUpdateCmdS {
static void checkCanRunHere(OperationContext* opCtx) {
// Can always run on a mongos.
}
+
+ static void checkCanExplainHere(OperationContext* opCtx) {
+ // Can always run on a mongos.
+ }
};
ClusterUpdateCmdBase<ClusterUpdateCmdS> clusterUpdateCmdS;
@@ -86,6 +94,10 @@ struct ClusterDeleteCmdS {
static void checkCanRunHere(OperationContext* opCtx) {
// Can always run on a mongos.
}
+
+ static void checkCanExplainHere(OperationContext* opCtx) {
+ // Can always run on a mongos.
+ }
};
ClusterDeleteCmdBase<ClusterDeleteCmdS> clusterDeleteCmdS;