summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorErin Liang <erin.liang@mongodb.com>2022-06-29 14:53:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-29 16:03:18 +0000
commitadd41e1ac8bf0dbc3be680bdc3e7d49266239e35 (patch)
tree5f1e3b99257a5966d10a038737d6b993f766abe1 /src/mongo/db
parentad07892136bbf7ff94d10b90ed06d1f6f656a372 (diff)
downloadmongo-add41e1ac8bf0dbc3be680bdc3e7d49266239e35.tar.gz
SERVER-52177 Create feature flag for updateOne without shard key
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/internal_transactions_feature_flag.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/internal_transactions_feature_flag.idl b/src/mongo/db/internal_transactions_feature_flag.idl
index 12c205cf610..331f777a313 100644
--- a/src/mongo/db/internal_transactions_feature_flag.idl
+++ b/src/mongo/db/internal_transactions_feature_flag.idl
@@ -44,3 +44,8 @@ feature_flags:
description: Feature flag to enable usage of the transaction api for update findAndModify and update commands that change a document's shard key.
cpp_varname: gFeatureFlagUpdateDocumentShardKeyUsingTransactionApi
default: false
+
+ featureFlagUpdateOneWithoutShardKey:
+ description: Feature flag to enable updateOne, deleteOne, and findAndModify without a shard key or _id equality in their filter against a sharded collection.
+ cpp_varname: gfeatureFlagUpdateOneWithoutShardKey
+ default: false