diff options
author | wenqinYe <wenqin908@gmail.com> | 2022-11-01 15:52:15 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-01 16:25:14 +0000 |
commit | 52622f9c3cc14aee28efcec2376fc06edb20ebdb (patch) | |
tree | 5a21e71cea5379807d572d6a9bc6ef905e02b387 /src/mongo/s/commands/cluster_write_cmd.cpp | |
parent | f9ce2b3836f6662587e27739948fdf0b839fca91 (diff) | |
download | mongo-52622f9c3cc14aee28efcec2376fc06edb20ebdb.tar.gz |
SERVER-70745 explain command for cluster delete results in error when on shardsvr mongod
Diffstat (limited to 'src/mongo/s/commands/cluster_write_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_write_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_write_cmd.cpp b/src/mongo/s/commands/cluster_write_cmd.cpp index 4bcf8cb07c4..45dcd81274a 100644 --- a/src/mongo/s/commands/cluster_write_cmd.cpp +++ b/src/mongo/s/commands/cluster_write_cmd.cpp @@ -651,7 +651,7 @@ void ClusterWriteCmd::InvocationBase::run(OperationContext* opCtx, void ClusterWriteCmd::InvocationBase::explain(OperationContext* opCtx, ExplainOptions::Verbosity verbosity, rpc::ReplyBuilderInterface* result) { - preRunImplHook(opCtx); + preExplainImplHook(opCtx); uassert(ErrorCodes::InvalidLength, "explained write batches must be of size 1", |