diff options
Diffstat (limited to 'src/third_party/wiredtiger/dist/api_data.py')
-rw-r--r-- | src/third_party/wiredtiger/dist/api_data.py | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/dist/api_data.py b/src/third_party/wiredtiger/dist/api_data.py index fbf71581fe9..db1bc85add4 100644 --- a/src/third_party/wiredtiger/dist/api_data.py +++ b/src/third_party/wiredtiger/dist/api_data.py @@ -790,6 +790,14 @@ methods = { type='boolean'), ]), 'WT_SESSION.strerror' : Method([]), +'WT_SESSION.transaction_sync' : Method([ + Config('timeout_ms', '', r''' + maximum amount of time to wait for background sync to complete in + milliseconds. A value of zero disables the timeout and returns + immediately. The default waits forever.''', + type='int'), +]), + 'WT_SESSION.truncate' : Method([]), 'WT_SESSION.upgrade' : Method([]), 'WT_SESSION.verify' : Method([ @@ -826,13 +834,21 @@ methods = { priority of the transaction for resolving conflicts. Transactions with higher values are less likely to abort''', min='-100', max='100'), + Config('snapshot', '', r''' + use a named, in-memory snapshot, see + @ref transaction_named_snapshots'''), Config('sync', '', r''' whether to sync log records when the transaction commits, inherited from ::wiredtiger_open \c transaction_sync''', type='boolean'), ]), -'WT_SESSION.commit_transaction' : Method([]), +'WT_SESSION.commit_transaction' : Method([ + Config('sync', '', r''' + override whether to sync log records when the transaction commits, + inherited from ::wiredtiger_open \c transaction_sync''', + choices=['background', 'off', 'on']), +]), 'WT_SESSION.rollback_transaction' : Method([]), 'WT_SESSION.checkpoint' : Method([ @@ -857,6 +873,24 @@ methods = { if non-empty, checkpoint the list of objects''', type='list'), ]), +'WT_SESSION.snapshot' : Method([ + Config('drop', '', r''' + if non-empty, specifies which snapshots to drop. Where a group + of snapshots are being dropped, the order is based on snapshot + creation order not alphanumeric name order''', + type='category', subconfig=[ + Config('all', 'false', r''' + drop all named snapshots''', type='boolean'), + Config('before', '', r''' + drop all snapshots up to but not including the specified name'''), + Config('names', '', r''' + drop specific named snapshots''', type='list'), + Config('to', '', r''' + drop all snapshots up to and including the specified name.'''), + ]), + Config('name', '', r'''specify a name for the snapshot'''), +]), + 'WT_CONNECTION.add_collator' : Method([]), 'WT_CONNECTION.add_compressor' : Method([]), 'WT_CONNECTION.add_data_source' : Method([]), |