-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
The recent changes in WT-2764 have led to a potential invalid calculation when adjusting the dirty cache percentage for a checkpoint. The failure is reported as:
[js_test:reconfigwt] 2016-08-04T09:57:37.506+0000 d20010| 2016-08-04T09:57:37.506+0000 I STORAGE [conn1] Reconfiguring WiredTiger storage engine with config string: "eviction_target=81" [js_test:reconfigwt] 2016-08-04T09:57:37.525+0000 ret: { "was" : "", "ok" : 1 } [js_test:reconfigwt] 2016-08-04T09:57:37.526+0000 d20010| 2016-08-04T09:57:37.526+0000 I STORAGE [conn1] Reconfiguring WiredTiger storage engine with config string: "cache_size=81M" [js_test:reconfigwt] 2016-08-04T09:57:37.538+0000 ret: { "was" : "", "ok" : 1 } [js_test:reconfigwt] 2016-08-04T09:57:37.539+0000 d20010| 2016-08-04T09:57:37.539+0000 I STORAGE [conn1] Reconfiguring WiredTiger storage engine with config string: "eviction_dirty_target=82" [js_test:reconfigwt] 2016-08-04T09:57:37.558+0000 ret: { "was" : "", "ok" : 1 } [js_test:reconfigwt] 2016-08-04T09:57:37.559+0000 d20010| 2016-08-04T09:57:37.558+0000 I STORAGE [conn1] Reconfiguring WiredTiger storage engine with config string: "shared_cache=(chunk=11MB, name=bar, reserve=12MB, size=1G)" [js_test:reconfigwt] 2016-08-04T09:57:37.575+0000 d20010| 2016-08-04T09:57:37.576+0000 I CONTROL [thread2] *** unhandled exception 0xC0000094 at 0x0000000140E45CF5, terminating [js_test:reconfigwt] 2016-08-04T09:57:37.575+0000 d20010| 2016-08-04T09:57:37.576+0000 I CONTROL [thread2] *** stack trace for unhandled exception: [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.157+0000 I CONTROL [thread2] mongod.exe ...\src\third_party\wiredtiger\src\txn\txn_ckpt.c(340) __checkpoint_reduce_dirty_cache+0xa5 [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.157+0000 I CONTROL [thread2] mongod.exe ...\src\third_party\wiredtiger\src\txn\txn_ckpt.c(566) __txn_checkpoint+0x140 [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.157+0000 I CONTROL [thread2] mongod.exe ...\src\third_party\wiredtiger\src\txn\txn_ckpt.c(880) __wt_txn_checkpoint+0xda [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.157+0000 I CONTROL [thread2] mongod.exe ...\src\third_party\wiredtiger\src\session\session_api.c(1585) __session_checkpoint+0x143 [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.158+0000 I CONTROL [thread2] mongod.exe ...\src\third_party\wiredtiger\src\conn\conn_ckpt.c(83) __ckpt_server+0x6a [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.158+0000 I CONTROL [thread2] mongod.exe d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(92) invoke_thread_procedure+0x2c [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.158+0000 I CONTROL [thread2] mongod.exe d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(115) thread_start<unsigned int (__cdecl*)(void * __ptr64)>+0x93 [js_test:reconfigwt] 2016-08-04T09:57:38.157+0000 d20010| 2016-08-04T09:57:38.158+0000 I CONTROL [thread2] kernel32.dll BaseThreadInitThunk+0xd
The failure was uncovered by an Evergreen test: https://evergreen.mongodb.com/task/mongodb_mongo_master_windows_64_2k8_debug_noPassthroughWithMongod_WT_b4b1a748ef0cc9b94bfa55a9d61bf059b26e9e12_16_08_04_07_31_29