diff options
Diffstat (limited to 'dist/api_data.py')
-rw-r--r-- | dist/api_data.py | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index b38dc7a6ad2..d1b7edd26a8 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -596,6 +596,10 @@ methods = { priority of the transaction for resolving conflicts. Transactions with higher values are less likely to abort''', min='-100', max='100'), + Config('sync', '', r''' + whether to sync log records when the transaction commits, + inherited from ::wiredtiger_open \c transaction_sync''', + type='boolean'), ]), 'session.commit_transaction' : Method([]), @@ -748,9 +752,18 @@ methods = { maximum expected number of sessions (including server threads)''', min='1'), - Config('transaction_sync', 'fsync', r''' + Config('transaction_sync', '', r''' how to sync log records when the transaction commits''', - choices=['dsync', 'fsync', 'none']), + type='category', subconfig=[ + Config('enabled', 'false', r''' + whether to sync the log on every commit by default, can + be overridden by the \c sync setting to + WT_SESSION::begin_transaction''', + type='boolean'), + Config('method', 'fsync', r''' + the method used to ensure log records are stable on disk''', + choices=['dsync', 'fsync', 'none']), + ]), Config('use_environment_priv', 'false', r''' use the \c WIREDTIGER_CONFIG and \c WIREDTIGER_HOME environment variables regardless of whether or not the process is running |