ストレージエンジンからエラー-1を取得しました



Got Error 1 From Storage Engine



図書館から子供たちの修理がありますが、start slave以下の情報を与えられた後

Could not execute Write_rows event on table hsfdssdb.mf_textannounce Got error -1 from storage engine, Error_code: 1030 handler error No Error! the event's master log mysql-bin.388557, end_log_pos 581281335

うーん。 。不快。 。 。パラメータファイルの下を調べました



innodb_force_recovery = 4

この質問について、そして後でコメントされた、ライブラリからの通常のコピー
参照 バグ#76922

5.5公式の場合innodb_force_recoveryの説明
innodb_force_recoveryはデフォルトで0です(強制リカバリなしの通常の起動)。 innodb_force_recoveryの許容されるゼロ以外の値は1〜6です。値が大きいほど、小さい値の機能が含まれます。たとえば、値3には、値1と2のすべての機能が含まれます。



innodb_force_recovery値が3以下のテーブルをダンプできる場合は、破損した個々のページの一部のデータのみが失われるので比較的安全です。 4以上の値は、データファイルが永続的に破損する可能性があるため、危険であると見なされます。データベースページが廃止された状態のままになり、Bツリーやその他のデータベース構造により多くの破損が発生する可能性があるため、値6は大幅な値と見なされます。

As a safety measure, InnoDB prevents INSERT, UPDATE, or DELETE operations when innodb_force_recovery is greater than 0. 1 (SRV_FORCE_IGNORE_CORRUPT) Lets the server run even if it detects a corrupt page. Tries to make SELECT * FROM tbl_name jump over corrupt index records and pages, which helps in dumping tables. 2 (SRV_FORCE_NO_BACKGROUND) Prevents the master thread and any purge threads from running. If a crash would occur during the purge operation, this recovery value prevents it. 3 (SRV_FORCE_NO_TRX_UNDO) Does not run transaction rollbacks after crash recovery. 4 (SRV_FORCE_NO_IBUF_MERGE) Prevents insert buffer merge operations. If they would cause a crash, does not do them. Does not calculate table statistics. This value can permanently corrupt data files. After using this value, be prepared to drop and recreate all secondary indexes. 5 (SRV_FORCE_NO_UNDO_LOG_SCAN) Does not look at undo logs when starting the database: InnoDB treats even incomplete transactions as committed. This value can permanently corrupt data files. 6 (SRV_FORCE_NO_LOG_REDO) Does not do the redo log roll-forward in connection with recovery. This value can permanently corrupt data files. Leaves database pages in an obsolete state, which in turn may introduce more corruption into B-trees and other database structures.