When running a workload via the MySQL API, I'm encountering the following:
[1398992702:951372][8937:00078e1cee7f0000], file:_iibench.purchases_index_index0000.wt, cursor.insert: encountered an illegal file format or internal value
[1398992702:951404][8937:00078e1cee7f0000], file:_iibench.purchases_index_index0000.wt, cursor.insert: the WiredTiger library cannot continue; the process must exit and restart
Enabling diagnostic generates some more information:
[1398995034:483789][18962:009717409c7f0000], file:_iibench.purchases_index_index0000.wt, cursor.insert: cell 2 on page at [evict split] is the first of two adjacent values
[1398995034:483820][18962:009717409c7f0000], file:_iibench.purchases_index_index0000.wt, cursor.insert: ../src/btree/rec_write.c, 2520: __wt_verify_dsk_image( session, "[evict split]", buf->data, buf->size) == 0
The workload has logging turned on, is doing checkpoints and has managed to do a fair amount of work:
$ ls -l /ssd1/scratch/wiredtiger/mysql_data/ total 3281808 -rw-rw----. 1 wiredtiger wiredtiger 9241088 May 1 21:43 _iibench.purchases_index_index0000.wt -rw-rw----. 1 wiredtiger wiredtiger 512 May 1 21:43 _iibench.purchases_index_index0001-000001.lsm -rw-rw----. 1 wiredtiger wiredtiger 512 May 1 21:43 _iibench.purchases_index_index0002-000001.lsm -rw-rw----. 1 wiredtiger wiredtiger 512 May 1 21:43 _iibench.purchases_index_index0003-000001.lsm -rw-rw----. 1 wiredtiger wiredtiger 512 May 1 21:43 _metadata.wt -rw-rw----. 1 wiredtiger wiredtiger 46 May 1 21:42 WiredTiger -rw-rw----. 1 wiredtiger wiredtiger 46673792 May 1 21:43 WiredTigerLog.0000000003 -rw-rw----. 1 wiredtiger wiredtiger 759 May 1 21:43 WiredTiger.turtle -rw-rw----. 1 wiredtiger wiredtiger 40960 May 1 21:43 WiredTiger.wt
In order to reproduce, I start MySQL with the following command:
rm -rf $MYSQL_DATA/* && LD_PRELOAD=/usr/lib64/libjemalloc.so ./scripts/mysql_install_db --user='wiredtiger' --defaults-file=`pwd`/../mysql-install/my_sysbench.cnf --skip-random-passwords && rm -f mysql.log && env LD_PRELOAD=/usr/lib64/libjemalloc.so $MYSQL_DIR/mysql-install/bin/mysqld --defaults-file=$MYSQL_DIR/mysql-install/my_sysbench.cnf --log-error=$MYSQL_DIR/mysql-install/mysql.log
Then execute the following sequence of commands (in another shell):
$ (cd $MYSQL_DIR/mysql-install && echo "CREATE DATABASE iibench;" | $MYSQL_DIR/mysql-install/bin/mysql --defaults-file=$MYSQL_DIR/mysql-install/my_sysbench.cnf --user='root' --socket=$MYSQL_DATA/mysql.sock) $ python ./iibench.py --db_name=iibench --db_user=root --db_socket=$MYSQL_DATA/mysql.sock --engine=WIREDTIGER --setup $ python ./iibench.py --db_name=iibench --db_user=root --db_socket=$MYSQL_DATA/mysql.sock --engine=WIREDTIGER --max_rows=50000000
I'm using WiredTiger revision: dbb19ff685e4abc9b8fb661920ded503204ddc9f
I'll try to isolate when the error was introduced.
- is related to
-
WT-976 format checksum error
- Closed
-
WT-991 Enable raw compression in Jenkins test/format
- 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
-
WT-10 Basic "getting started" tutorial
- Closed
-
WT-11 placeholder #11
- Closed
-
WT-12 Write more examples
- Closed
-
WT-13 Define supported platforms
- Closed
-
WT-14 Windows build
- Closed
-
WT-15 Automated build/test infrastructure
- Closed
-
WT-16 Test suite
- Closed
-
WT-17 Multithreaded tests
- Closed