summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/dist/api_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/dist/api_data.py')
-rw-r--r--src/third_party/wiredtiger/dist/api_data.py25
1 files changed, 19 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/dist/api_data.py b/src/third_party/wiredtiger/dist/api_data.py
index 3bd75b7187c..6d9d4f1db3d 100644
--- a/src/third_party/wiredtiger/dist/api_data.py
+++ b/src/third_party/wiredtiger/dist/api_data.py
@@ -605,6 +605,13 @@ connection_runtime_config = [
Config('lsm_merge', 'true', r'''
merge LSM chunks where possible (deprecated)''',
type='boolean', undoc=True),
+ Config('operation_timeout_ms', '0', r'''
+ when non-zero, a requested limit on the number of elapsed real time milliseconds
+ application threads will take to complete database operations. Time is measured from the
+ start of each WiredTiger API call. There is no guarantee any operation will not take
+ longer than this amount of time. If WiredTiger notices the limit has been exceeded, an
+ operation may return a WT_ROLLBACK error. Default is to have no limit''',
+ min=1),
Config('operation_tracking', '', r'''
enable tracking of performance-critical functions. See
@ref operation_tracking for more information''',
@@ -1333,6 +1340,13 @@ methods = {
choices=['read-uncommitted', 'read-committed', 'snapshot']),
Config('name', '', r'''
name of the transaction for tracing and debugging'''),
+ Config('operation_timeout_ms', '0', r'''
+ when non-zero, a requested limit on the number of elapsed real time milliseconds taken
+ to complete database operations in this transaction. Time is measured from the start
+ of each WiredTiger API call. There is no guarantee any operation will not take longer
+ than this amount of time. If WiredTiger notices the limit has been exceeded, an operation
+ may return a WT_ROLLBACK error. Default is to have no limit''',
+ min=1),
Config('priority', 0, r'''
priority of the transaction for resolving conflicts.
Transactions with higher values are less likely to abort''',
@@ -1436,8 +1450,8 @@ methods = {
dropped while a hot backup is in progress or if open in
a cursor''', type='list'),
Config('force', 'false', r'''
- by default, checkpoints may be skipped if the underlying object
- has not been modified, this option forces the checkpoint''',
+ if false (the default), checkpoints may be skipped if the underlying object has not been
+ modified, if true, this option forces the checkpoint''',
type='boolean'),
Config('name', '', r'''
if set, specify a name for the checkpoint (note that checkpoints
@@ -1445,10 +1459,9 @@ methods = {
Config('target', '', r'''
if non-empty, checkpoint the list of objects''', type='list'),
Config('use_timestamp', 'true', r'''
- by default, create the checkpoint as of the last stable timestamp
- if timestamps are in use, or all current updates if there is no
- stable timestamp set. If false, this option generates a checkpoint
- with all updates including those later than the timestamp''',
+ if true (the default), create the checkpoint as of the last stable timestamp if timestamps
+ are in use, or all current updates if there is no stable timestamp set. If false, this
+ option generates a checkpoint with all updates including those later than the timestamp''',
type='boolean'),
]),