あーかいぶすハイディフィニション

ここはもう更新しとらんのじゃ

MySQL でレプリケーションするとエラーでる

Last_Errno: 1594
Last_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log), the slave's relay log is corrupted (you can check this by running 'mysqlbinlog' on the relay log), a network problem, or a bug in the master's or slave's MySQL code. If you want to check the master's binary log or slave's relay log, you will be able to know their names by issuing 'SHOW SLAVE STATUS' on this slave.

MySQL Cluster 7.2.10 ( MySQL 5.5.30 ) から MySQL Server 5.5.30 へレプリケーションしてこうなる。激おこだよ。

追記:行ベースレプリケーションがだめなもよう、再テスト中。

追記2:できたー! 上記の環境で my.cnf に binlog_format=ROW とか指定してると、Errno: 1594 が再現したわー。詳細な再現条件がわかんねーからまた今度検証します!とりあえず、NDB to InnoDBレプリケーションする人は、binlog_format=STATEMENT を使うとヨロシ。

参考:hiroi10のブログ
参考:MySQL :: MySQL 5.5 Reference Manual :: 17.1.3.4 Binary Log Options and Variables

そういえば去年の今頃も MySQL Cluster のよくわからないバグで苦しめられてた気がするゾ…?(´・ω・`)