Aria engine on dbstore2002 crashed, the symptom is that the replica was broken with:
160316 14:13:56 [ERROR] Master 's3': Slave SQL: Error 'Got error 122 "Internal (unspecified) error in handler" from storage engine Aria' on query. Default database: 'bnwikisource'. Query: 'INSERT /* ShortUrlUtils::encodeTitle [...OMISSIS...] */ IGNORE INTO `shorturls`... 5527782, Internal MariaDB error code: 1030 160316 14:13:56 [Warning] Master 's3': Slave: Got error 122 "Internal (unspecified) error in handler" from storage engine Aria Error_code: 1030
A check of the table revealed that it was crashed:
MariaDB DBSTORE localhost bnwikisource > CHECK TABLE shorturls; +------------------------+-------+----------+----------------------------------------------------------------------------------------------------+ | Table | Op | Msg_type | Msg_text | +------------------------+-------+----------+----------------------------------------------------------------------------------------------------+ | bnwikisource.shorturls | check | error | Page 3010: Wrong data in bitmap. Page_type: 1 full: 0 empty_space: 2916 Bitmap-bits: 4 'full' | | bnwikisource.shorturls | check | error | Corrupt | +------------------------+-------+----------+----------------------------------------------------------------------------------------------------+ 2 rows in set (0.51 sec)
A repair worked fine:
MariaDB DBSTORE localhost bnwikisource > REPAIR NO_WRITE_TO_BINLOG TABLE shorturls; +------------------------+--------+----------+----------------------------------------------+ | Table | Op | Msg_type | Msg_text | +------------------------+--------+----------+----------------------------------------------+ | bnwikisource.shorturls | repair | warning | Number of rows changed from 216621 to 216622 | | bnwikisource.shorturls | repair | status | OK | +------------------------+--------+----------+----------------------------------------------+ 2 rows in set (1.47 sec)
But as soon as the slave was restarted the table crashed again. In fact all the tables with Aria engine were seen as crashed leading to the suggestion that the Aria engine itself was crashed.
dbstore2001 is probably corrupt, too. Both need a reload (TokuDB -> InnoDB compressed anyway).