-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
When running a YCSB workload through MongoDB it's possible to trigger an assertion in WiredTiger.
The failure is:
After about 10 minutes I get: 2014-11-07T19:36:50.935-0500 I WRITES [conn7] insert ycsb.bulk1 ninserted:1 keyUpdates:0 numYields:0 123ms Segmentation fault (core dumped)
The assertion is:
#0 0x0000000000000000 in ?? () WT-1 0x00007fe56cd6661a in __wt_compare (cmpp=0x7fe567bf37d0, tree_item=0x207b9a88, user_item=0x94efd48, collator=<optimized out>, session=0x3f97400) at ./src/include/btree.i:1162 WT-2 __clsm_get_current (session=0x3f97400, clsm=0x642e4e0, smallest=1, deletedp=0x7fe567bf3840) at src/lsm/lsm_cursor.c:691 WT-3 0x00007fe56cd680fb in __clsm_next (cursor=0x642e4e0) at src/lsm/lsm_cursor.c:830 WT-4 0x00007fe56cd6d194 in __wt_lsm_merge (session=0x3f97400, lsm_tree=0x5255800, id=<optimized out>) at src/lsm/lsm_merge.c:311 WT-5 0x00007fe56cd725f8 in __lsm_worker (arg=0x3f90fe0) at src/lsm/lsm_worker.c:137 WT-6 0x00007fe56cac9e9a in start_thread (arg=0x7fe567bf4700) at pthread_create.c:308 WT-7 0x00007fe56bbd931d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 WT-8 0x0000000000000000 in ?? ()
The steps to reproduce are:
$ rm -r /tmp/wt/* $ LD_LIBRARY_PATH=$WT_INSTALL/lib ./mongod --storageEngine wiredtiger --dbpath /tmp/wt --wiredTigerCollectionConfig "type=lsm" --wiredTigerIndexConfig "type=lsm" $ ./mongo > use ycsb > db.bulk1.ensureIndex({field0:1}) $ ./bin/ycsb load mongodb -P workloads/workloada -p recordcount=1000000 -p table=bulk1 -threads 8 -s
- is related to
-
WT-1366 Fix LSM trees with custom collators: use the same customize path as for btrees
- Closed
- related to
-
WT-1 placeholder WT-1
- Closed
-
WT-2 What does metadata look like?
- Closed
-
WT-3 What file formats are required?
- Closed
-
WT-4 Flexible cursor traversals
- Closed
-
WT-5 How does pget work: is it necessary?
- Closed
-
WT-6 Complex schema example
- Closed
-
WT-7 Do we need the handle->err/errx methods?
- Closed
-
WT-8 Do we need table load, bulk-load and/or dump methods?
- Closed