summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/dist
diff options
context:
space:
mode:
authorChenhao Qu <chenhao.qu@mongodb.com>2021-01-04 04:33:57 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-04 05:06:09 +0000
commit19579e36f0d5a3905fb8b0101f43a776b3ac1944 (patch)
treedda015b7af6eb848fdc0528bde8edd95fb77c7ea /src/third_party/wiredtiger/dist
parent5431150d116b70fc9401c46deaacc9ae049f064e (diff)
downloadmongo-19579e36f0d5a3905fb8b0101f43a776b3ac1944.tar.gz
Import wiredtiger: d099f81fc8944a4bee1a7f64128648753e9ca941 from branch mongodb-5.0
ref: acc7563bc8..d099f81fc8 for: 4.9.0 WT-5101 Make Clang Format recognise remaining loop macros WT-6313 Added verify_metadata configuration to the exclusion list when writing to basecfg WT-6710 Change the default transaction isolation to snapshot WT-6802 Don't set operation timer for internal and reentry api calls WT-6888 WTPERF reports incorrect upper bound item count during populate WT-6990 New cursor debug configuration isn't considered in __wt_cursor_cache_get WT-6996 Fix suite_random.rand32() in python test suite
Diffstat (limited to 'src/third_party/wiredtiger/dist')
-rw-r--r--src/third_party/wiredtiger/dist/api_data.py2
-rw-r--r--src/third_party/wiredtiger/dist/api_err.py7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/dist/api_data.py b/src/third_party/wiredtiger/dist/api_data.py
index 122de829248..247a4777d29 100644
--- a/src/third_party/wiredtiger/dist/api_data.py
+++ b/src/third_party/wiredtiger/dist/api_data.py
@@ -910,7 +910,7 @@ session_config = [
option for operations that create cache pressure can starve ordinary
sessions that obey the cache size.''',
type='boolean'),
- Config('isolation', 'read-committed', r'''
+ Config('isolation', 'snapshot', r'''
the default isolation level for operations in this session''',
choices=['read-uncommitted', 'read-committed', 'snapshot']),
]
diff --git a/src/third_party/wiredtiger/dist/api_err.py b/src/third_party/wiredtiger/dist/api_err.py
index a1ea1974284..b2b18e1bac6 100644
--- a/src/third_party/wiredtiger/dist/api_err.py
+++ b/src/third_party/wiredtiger/dist/api_err.py
@@ -55,9 +55,10 @@ errors = [
'operation would overflow cache', '''
This error is only generated when wiredtiger_open is configured
to run in-memory, and an insert or update operation requires
- more than the configured cache size to complete. The operation
- may be retried; if a transaction is in progress, it should be
- rolled back and the operation retried in a new transaction.'''),
+ more than the configured cache size to complete, or when an
+ application thread fails to do eviction within cache_max_wait_ms.
+ The operation may be retried; if a transaction is in progress, it
+ should be rolled back and the operation retried in a new transaction.'''),
Error('WT_PREPARE_CONFLICT', -31808,
'conflict with a prepared update', '''
This error is generated when the application attempts to update