diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-04-28 15:23:36 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-04-28 15:23:36 -0400 |
commit | 10d75f7130504d17bae8d8c5681cea1f0487e9ba (patch) | |
tree | 88f2e33e4653a520e35df05c42b9f8dd01486b94 /dist | |
parent | 9e783e8b06d673dbfac2cb549e95575e4ebc6a62 (diff) | |
download | mongo-10d75f7130504d17bae8d8c5681cea1f0487e9ba.tar.gz |
Add asynchronous compact support to async API.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/api_data.py | 5 | ||||
-rw-r--r-- | dist/stat_data.py | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index 64b423c336b..ccd91998121 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -595,6 +595,11 @@ methods = { ignore the encodings for the key and value, manage data as if the formats were \c "u". See @ref cursor_raw for details''', type='boolean'), + Config('timeout', '1200', r''' + maximum amount of time to allow for compact in seconds. The + actual amount of time spent in compact may exceed the configured + value. A value of zero disables the timeout''', + type='int'), ]), 'connection.close' : Method([]), 'connection.reconfigure' : Method(connection_runtime_config), diff --git a/dist/stat_data.py b/dist/stat_data.py index 1acb9b7bd3f..ae5cdfd9ebd 100644 --- a/dist/stat_data.py +++ b/dist/stat_data.py @@ -51,6 +51,7 @@ connection_stats = [ Stat('async_max_queue', 'async: maximum work queue length', 'max_aggregate,no_scale'), Stat('async_op_alloc', 'async op allocation'), + Stat('async_op_compact', 'async op compact calls'), Stat('async_op_insert', 'async op insert calls'), Stat('async_op_remove', 'async op remove calls'), Stat('async_op_search', 'async op search calls'), |