diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2019-05-22 14:36:19 -0400 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2019-05-23 10:48:33 -0400 |
commit | e35e202e414df3f917ff26937f5e8325cce56b1e (patch) | |
tree | abb394e16886c6918014fe5b7ef370509f16b267 /src/mongo/db/transaction_participant.idl | |
parent | 358c0af2fe875d6a768cf87d7ddfaeb3181f804a (diff) | |
download | mongo-e35e202e414df3f917ff26937f5e8325cce56b1e.tar.gz |
SERVER-39811 Add a threshold of the total size of buffered oplog entries in a transaction and make it tunable, defaulting to unlimited
Diffstat (limited to 'src/mongo/db/transaction_participant.idl')
-rw-r--r-- | src/mongo/db/transaction_participant.idl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/transaction_participant.idl b/src/mongo/db/transaction_participant.idl index 55a408ac30e..7e0a0194613 100644 --- a/src/mongo/db/transaction_participant.idl +++ b/src/mongo/db/transaction_participant.idl @@ -74,3 +74,12 @@ server_parameters: cpp_varname: gMaxNumberOfTransactionOperationsInSingleOplogEntry default: 2147483647 # INT_MAX validator: { gte: 1 } + + transactionSizeLimitBytes: + description: >- + Maximum total size of operations in a multi-document transaction. + set_at: [ startup, runtime ] + cpp_vartype: AtomicWord<long long> + cpp_varname: gTransactionSizeLimitBytes + default: + expr: std::numeric_limits<long long>::max() |