diff options
author | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2022-11-03 16:13:20 +0000 |
---|---|---|
committer | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2022-11-03 16:13:20 +0000 |
commit | e74d2910bbe76790ad131d53fee277829cd95982 (patch) | |
tree | cabe148764529c9623652374fbc36323a550cd44 /src/mongo/s/commands/cluster_write_cmd_s.cpp | |
parent | 280145e9940729480bb8a35453d4056afac87641 (diff) | |
parent | ba467f46cc1bc49965e1d72b541eff0cf1d7b22e (diff) | |
download | mongo-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.cpp | 12 |
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; |