diff options
author | Jason Zhang <jason.zhang@mongodb.com> | 2022-12-29 21:22:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-12-29 22:30:30 +0000 |
commit | 87c5d5d3c1263b14597828d92094a7848aea6b56 (patch) | |
tree | 0a4723bf25e3bfd73179fb2431cdd568670c2c8e /src/mongo/s/write_ops/write_without_shard_key_util.cpp | |
parent | 258f77aba1e7c76f7f665e6b07d83ba6978dea09 (diff) | |
download | mongo-87c5d5d3c1263b14597828d92094a7848aea6b56.tar.gz |
SERVER-69920 Implement two phase protocol for updateOne and deleteOne
Diffstat (limited to 'src/mongo/s/write_ops/write_without_shard_key_util.cpp')
-rw-r--r-- | src/mongo/s/write_ops/write_without_shard_key_util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/write_ops/write_without_shard_key_util.cpp b/src/mongo/s/write_ops/write_without_shard_key_util.cpp index b359174828b..f299364e1d1 100644 --- a/src/mongo/s/write_ops/write_without_shard_key_util.cpp +++ b/src/mongo/s/write_ops/write_without_shard_key_util.cpp @@ -212,6 +212,8 @@ StatusWith<ClusterWriteWithoutShardKeyResponse> runTwoPhaseWriteProtocol(Operati sharedBlock->clusterWriteResponse = ClusterWriteWithoutShardKeyResponse::parseOwned( IDLParserContext("_clusterWriteWithoutShardKeyResponse"), std::move(writeRes)); + uassertStatusOK( + getStatusFromWriteCommandReply(sharedBlock->clusterWriteResponse.getResponse())); return SemiFuture<void>::makeReady(); }); |