diff options
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/db/ops/write_ops_exec.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/ops/write_ops_exec.cpp b/src/mongo/db/ops/write_ops_exec.cpp index ec959fdb858..8713e718e05 100644 --- a/src/mongo/db/ops/write_ops_exec.cpp +++ b/src/mongo/db/ops/write_ops_exec.cpp @@ -766,14 +766,6 @@ WriteResult performUpdates(OperationContext* opCtx, const write_ops::Update& who out.results.reserve(wholeOp.getUpdates().size()); for (auto&& singleOp : wholeOp.getUpdates()) { - if (singleOp.getU().type() == write_ops::UpdateModification::Type::kPipeline) { - // TODO SERVER-40402: Remove once writeConcern is supported and tested for pipeline - // updates. - uassert(ErrorCodes::NotImplemented, - "writeConcern is not yet supported for pipeline-style updates", - opCtx->getWriteConcern().usedDefault); - } - const auto stmtId = getStmtIdForWriteOp(opCtx, wholeOp, stmtIdIndex++); if (opCtx->getTxnNumber()) { if (!txnParticipant.inMultiDocumentTransaction()) { |