We're updating the issue view to help you get more done. 

ha_tokudb.cc:3699 do_uniqueness_checks: Assertion `Handlerton: 0 ' failed (errno=2) : No such file or directory

Description

1 2 3 4 5 # mysqld options required for replay: --plugin-load-add=tokudb=ha_tokudb.so DROP DATABASE test;CREATE DATABASE test;USE test; CREATE TABLE t1(a INT,b INT UNSIGNED,c BINARY(1),d CHAR (1),e BINARY (1),f VARCHAR(1),g BLOB,h BLOB,id INT,KEY(b),CLUSTERING KEY(e),PRIMARY KEY(id)) ENGINE=tokudb; set global debug="+d,row,tokudb_crash_if_rpl_does_uniqueness_check"; insert into t1(id,a)values (0,0);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Version: '5.6.34-79.1-debug' socket: '/sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/socket.sock' port: 12406 MySQL Community Server (GPL) /git/PS-5.6.34_dbg/storage/tokudb/ha_tokudb.cc:3699 do_uniqueness_checks: Assertion `Handlerton: 0 ' failed (errno=2) : No such file or directory Backtrace: (Note: toku_do_assert=0x0x7eff67168d7e) /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/lib/mysql/plugin/ha_tokudb.so(_Z19db_env_do_backtraceP8_IO_FILE+0x26)[0x7eff67168915] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/lib/mysql/plugin/ha_tokudb.so(+0x1b4af2)[0x7eff67168af2] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/lib/mysql/plugin/ha_tokudb.so(_Z24toku_do_assert_zero_failmPKcS0_S0_ii+0x0)[0x7eff67168be6] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/lib/mysql/plugin/ha_tokudb.so(+0xb760b)[0x7eff6706b60b] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/lib/mysql/plugin/ha_tokudb.so(_Z21toku_hton_assert_failPKcS0_S0_ii+0xa6)[0x7eff67052e9d] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/lib/mysql/plugin/ha_tokudb.so(_ZN9ha_tokudb20do_uniqueness_checksEPhP13__toku_db_txnP3THD+0xb1)[0x7eff6702c9dd] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/lib/mysql/plugin/ha_tokudb.so(_ZN9ha_tokudb9write_rowEPh+0x6ba)[0x7eff6702dd8a] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_ZN7handler12ha_write_rowEPh+0x18c)[0x6548c8] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_Z12write_recordP3THDP5TABLEP9COPY_INFOS4_+0xc96)[0x7cc7f6] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0xf76)[0x7ca604] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_Z21mysql_execute_commandP3THD+0x324b)[0x7eda6c] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x56d)[0x7f5f7f] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xcf5)[0x7e7c20] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_Z10do_commandP3THD+0x3b8)[0x7e6ac1] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x24c)[0x7ae041] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(handle_one_connection+0x33)[0x7adac1] /sda/PS071116-percona-server-5.6.34-79.1-linux-x86_64-debug/bin/mysqld(pfs_spawn_thread+0x147)[0xb11ef1] /lib64/libpthread.so.0(+0x7dc5)[0x7eff87ca2dc5] /lib64/libc.so.6(clone+0x6d)[0x7eff860ffced] Engine status: BUILD_ID = 0 Env panic code: 2 Env panic string: /git/PS-5.6.34_dbg/storage/tokudb/ha_tokudb.cc:3699 do_uniqueness_checks: Assertion `Handlerton: 0 ' failed (errno=2)

Environment

None

Status

Assignee

Unassigned

Reporter

roel.vandepaar

Labels

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Freshdesk Tickets

None

Priority

Major