I am playing with Percona Server 5.6.27 and TokuDB engine.
I tried to load two (different) CSV files into the same table with LOAD DATA INFILE from two separate ‘mysql’ sessions. It worked with InnoDB (XtraDB) and MyISAM, but not with TokuDB. The session that starts loading first succeeds, but the other doesn’t and returns: “ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction.”
Besides increasing the timeout value, is there a way to do this with TokuDB?