-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open

Description
When I alter a table with gh-ost, it aways give me an error at cut-over stage. Details as follows,
Copy: 39004552/39004552 100.0%; Applied: 186405; Backlog: 100/100; Time: 23h47m15s(total), 8h47m59s(copy); streamer: binlog.010003:1002685155; State: migrating; ETA: due
[MySQL] 2018/07/27 09:38:09 packets.go:32: unexpected EOF
[MySQL] 2018/07/27 09:38:09 packets.go:118: write tcp 10.1.137.252:54600->10.1.137.252:3306: write: broken pipe
[MySQL] 2018/07/27 09:38:10 packets.go:32: unexpected EOF
[MySQL] 2018/07/27 09:38:10 statement.go:27: Invalid Connection
2018-07-27 09:38:10 ERROR driver: bad connection; query=
update /* gh-ost `copyright`.`_c_copyright_gho` */
`copyright`.`_c_copyright_gho`
set
`cid`=?, `singer`=?, `song`=?, `album`=?, `album_id`=?, `song_id`=?, `isrc`=?, `music_count`=?, `remark`=?, `contract_no`=?, `price`=?, `discount_price`=?, `is_blur`=?, `is_separate_buy`=?, `is_vip_buy`=?, `record_coid`=?, `distributor_coid`=?, `copyright_coid`=?, `copyright_percent`=?, `song_coid`=?, `song_percent`=?, `lyric_coid`=?, `lyric_percent`=?, `mv_coid`=?, `start_time`=?, `end_time`=?, `exclusive_start_time`=?, `exclusive_end_time`=?, `auto_delay`=?, `behavior_limit`=?, `behavior_reason`=?, `type`=?, `pay`=?, `task`=?, `music_task`=?, `is_publish`=?, `source`=?, `addtime`=?, `edittime`=?, `editor`=?, `out_songlist_id`=?, `is_comfirm`=?, `is_special`=?, `region`=?, `pack_id`=?, `appid_block`=?, `qq_track_id`=?, `old_cpy`=?, `out_import_id`=?
where
((`cid` = ?))
; args=[42529166 Michael Eversden Below The Star-Stretched Sky Out of Bounds 0 0 0 180724腾讯同步_180724腾讯同步 0 0 1 0 0 0 0 313104 100 0 100 0 100 0 0000-00-00 0000-00-00 0000-00-00 0000-00-00 0 0 3 0 2 2 1 20 2018-07-24 09:52:11 2018-07-24 18:52:12 腾讯增量更新 0 0 0 1 64 214984698 1 0 42529166]
2018-07-27 09:38:10 ERROR Error 1205: Lock wait timeout exceeded; try restarting transaction
2018-07-27 09:38:10 ERROR Error 1205: Lock wait timeout exceeded; try restarting transaction
2018-07-27 09:38:10 INFO Looking for magic cut-over table
2018-07-27 09:38:10 INFO Dropping magic cut-over table
2018-07-27 09:38:10 INFO Droppping table `copyright`.`_c_copyright_del`
2018-07-27 09:38:10 INFO Table dropped
2018-07-27 09:38:11 INFO Grabbing voluntary lock: gh-ost.4240864468.lock
2018-07-27 09:38:11 INFO Setting LOCK timeout as 6 seconds
2018-07-27 09:38:11 INFO Looking for magic cut-over table
2018-07-27 09:38:11 INFO Creating magic cut-over table `copyright`.`_c_copyright_del`
2018-07-27 09:38:11 INFO Magic cut-over table created
2018-07-27 09:38:11 INFO Locking `copyright`.`c_copyright`, `copyright`.`_c_copyright_del`
[MySQL] 2018/07/27 09:38:12 packets.go:32: unexpected EOF
[MySQL] 2018/07/27 09:38:12 packets.go:118: write tcp 10.1.137.252:54606->10.1.137.252:3306: write: broken pipe
[MySQL] 2018/07/27 09:38:13 packets.go:32: unexpected EOF
[MySQL] 2018/07/27 09:38:13 packets.go:118: write tcp 10.1.137.252:54610->10.1.137.252:3306: write: broken pipe
Copy: 39004552/39004552 100.0%; Applied: 186988; Backlog: 100/100; Time: 23h47m20s(total), 8h47m59s(copy); streamer: binlog.010003:1011979413; State: migrating; ETA: due
As I use the lastest version v1.0.46, the error remain.
Metadata
Metadata
Assignees
Labels
No labels