summaryrefslogtreecommitdiff
path: root/src/mongo/db/internal_transactions_feature_flag.idl
diff options
context:
space:
mode:
authorHuayu Ouyang <huayu.ouyang@mongodb.com>2023-04-27 14:49:46 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-27 15:59:11 +0000
commita1716c08fff135e860cb629b60cc1c023410bff1 (patch)
tree859eb3ddfe559d4be1e528d985cc922c595e47d7 /src/mongo/db/internal_transactions_feature_flag.idl
parentb62a4d9aec355679098f803dd97b0fda2cf0bcdb (diff)
downloadmongo-a1716c08fff135e860cb629b60cc1c023410bff1.tar.gz
SERVER-68151 Add a required feature flag IDL parameter of shouldBeFCVGated
Diffstat (limited to 'src/mongo/db/internal_transactions_feature_flag.idl')
-rw-r--r--src/mongo/db/internal_transactions_feature_flag.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/internal_transactions_feature_flag.idl b/src/mongo/db/internal_transactions_feature_flag.idl
index 97b0bcd927a..9a38ed96d7f 100644
--- a/src/mongo/db/internal_transactions_feature_flag.idl
+++ b/src/mongo/db/internal_transactions_feature_flag.idl
@@ -39,13 +39,16 @@ feature_flags:
description: Feature flag to enable always creating the config.transactions partial index on step up to primary even if the collection is not empty.
cpp_varname: gFeatureFlagAlwaysCreateConfigTransactionsPartialIndexOnStepUp
default: false
+ shouldBeFCVGated: true
featureFlagUpdateDocumentShardKeyUsingTransactionApi:
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
+ shouldBeFCVGated: true
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
+ shouldBeFCVGated: true