Bug #31484 | Cluster LOST_EVENTS entry not added to binlog on mysqld restart. | ||
---|---|---|---|
Submitted: | 9 Oct 2007 15:41 | Modified: | 15 Dec 2007 10:42 |
Reporter: | Matthew Montgomery | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Replication | Severity: | S2 (Serious) |
Version: | 5.1.22 | OS: | Any |
Assigned to: | Tomas Ulin | CPU Architecture: | Any |
[9 Oct 2007 15:41]
Matthew Montgomery
[9 Oct 2007 15:42]
MySQL Verification Team
No LOST_EVENTS entry in at end of binlog 000001 at restart. mysql> show binlog events in 'master-bin.000001' from 7179716; +------------------+---------+------------+-----------+-------------+--------------------- -----------+ | Log_name | Pos | Event_type | Server_id | End_log_pos | Info | +------------------+---------+------------+-----------+-------------+--------------------- -----------+ | master-bin.000001 | 7179716 | Write_rows | 1 | 7180742 | table_id: 21 | | master-bin.000001 | 7180742 | Write_rows | 1 | 7181760 | table_id: 21 | | master-bin.000001 | 7181760 | Write_rows | 1 | 7182779 | table_id: 21 | | master-bin.000001 | 7182779 | Write_rows | 1 | 7183808 | table_id: 21 | | master-bin.000001 | 7183808 | Write_rows | 1 | 7184848 | table_id: 21 | | master-bin.000001 | 7184848 | Write_rows | 1 | 7185888 | table_id: 21 | | master-bin.000001 | 7185888 | Write_rows | 1 | 7186924 | table_id: 21 | | master-bin.000001 | 7186924 | Write_rows | 1 | 7187939 | table_id: 21 | | master-bin.000001 | 7187939 | Write_rows | 1 | 7188974 | table_id: 21 | | master-bin.000001 | 7188974 | Write_rows | 1 | 7190013 | table_id: 21 | | master-bin.000001 | 7190013 | Write_rows | 1 | 7190533 | table_id: 21 flags: STMT_END_F | | master-bin.000001 | 7190533 | Query | 1 | 7190598 | COMMIT | | master-bin.000001 | 7190598 | Stop | 1 | 7190617 | | +------------------+---------+------------+-----------+-------------+--------------------- -----------+ 13 rows in set (0.00 sec) No LOST_EVENTS entry at the beginning of 000002 at restart. mysql> show binlog events in 'master-bin.000002' limit 10; +------------------+------+-------------+-----------+-------------+----------------------- --------------------------------+ | Log_name | Pos | Event_type | Server_id | End_log_pos | Info | +------------------+------+-------------+-----------+-------------+----------------------- --------------------------------+ | master-bin.000002 | 4 | Format_desc | 1 | 106 | Server ver: 5.1.22-ndb-6.3.2-telco-log, Binlog ver: 4 | | master-bin.000002 | 106 | Query | 1 | 170 | BEGIN | | master-bin.000002 | 170 | Table_map | 1 | 215 | table_id: 18 (test.t1) | | master-bin.000002 | 215 | Table_map | 1 | 277 | table_id: 16 (mysql.ndb_apply_status) | | master-bin.000002 | 277 | Write_rows | 1 | 336 | table_id: 16 | | master-bin.000002 | 336 | Write_rows | 1 | 1376 | table_id: 18 | | master-bin.000002 | 1376 | Write_rows | 1 | 2407 | table_id: 18 | | master-bin.000002 | 2407 | Write_rows | 1 | 3422 | table_id: 18 | | master-bin.000002 | 3422 | Write_rows | 1 | 4447 | table_id: 18 | | master-bin.000002 | 4447 | Write_rows | 1 | 5483 | table_id: 18 | +------------------+------+-------------+-----------+-------------+----------------------- --------------------------------+ 10 rows in set (0.00 sec)
[1 Nov 2007 14:05]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/36874 ChangeSet@1.2572, 2007-11-01 15:08:00+01:00, tomas@whalegate.ndb.mysql.com +5 -0 Bug #31484 Cluster LOST_EVENTS entry not added to binlog on mysqld restart.
[1 Nov 2007 18:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/36915 ChangeSet@1.2573, 2007-11-01 20:00:44+01:00, tomas@whalegate.ndb.mysql.com +3 -0 Bug #31484 Cluster LOST_EVENTS entry not added to binlog on mysqld restart - correction
[6 Nov 2007 14:09]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/37184 ChangeSet@1.2581, 2007-11-06 15:12:27+01:00, tomas@whalegate.ndb.mysql.com +1 -0 Bug #31484 Cluster LOST_EVENTS entry not added to binlog on mysqld restart - correction, do not insert GAP on first startup
[8 Nov 2007 13:32]
Jon Stephens
Documented bugfix in 5.1.22-ndb-6.2.8 and 5.1.22-ndb-6.3.6 changelogs; left in PQ status.
[14 Dec 2007 17:08]
Bugs System
Pushed into 5.1.23-rc
[14 Dec 2007 17:09]
Bugs System
Pushed into 6.0.5-alpha
[15 Dec 2007 10:42]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html Bugfix now also documented in 5.1.23 and 6.0.5 changelogs; closed.