Open myusuf3 opened 2 years ago
hello,i have same issue ,the question is saved?
hello,i have same issue ,the question is saved?
Nope.
Bump.
I am testing gh-ost and observed very similar issue. In my case it was CloudSQL MySQL (MySQL in GCP). I executed gh-ost on DB host without replica. Migration was long ~20 hours and was throttled a few times and connection was lost and recovered a few times. At some point "Lag" and "HeartbeatLag" drifted and never went down. Ultimately all rows were copied and all binglogs changes applied but gh-ost was forever applying binglogs events (the only ones left were the ones it itself generated, there was no more traffic on this DB host anymore).
发件人:Dasiu @.> 发送时间:2024年11月21日(星期四) 17:57 收件人:github/gh-ost @.> 抄 送:zhang17310521020 @.>; Comment @.> 主 题:Re: [github/gh-ost] Heartbeat Lag with Aurora blocking cutover. (Issue #1081) Bump. I am testing gh-ost and observed very similar issue. In my case it was CloudSQL MySQL (MySQL in GCP). I executed gh-ost on DB host without replica. Migration was long ~20 hours and was throttled a few times and connection was lost and recovered a few times. At some point "Lag" and "HeartbeatLag" drifted and never went down. Ultimately all rows were copied and all binglogs changes applied but gh-ost was forever applying binglogs events (the only ones left were the ones it itself generated, there was no more traffic on this DB host anymore). — Reply to this email directly, view it on GitHub <https://github.com/github/gh-ost/issues/1081#issuecomment-2490621880 >, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYWCVYN6XKXERUB4BZI7XSD2BWVBLAVCNFSM6AAAAABSGSUOI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJQGYZDCOBYGA >. You are receiving this because you commented.Message ID: @.***>
Hello everyone!
I am currently running a long running migration on Aurora MySQL 5.7. I running it on a copy of my production database. With Aurora style replication (meaning not actual replication) I have successfully run it on smaller tables, but when I run a migration on the scale of 20-24 hours I keep running into
HeartbeatLag
that always increases and never returns once it starts to drift.Here is a sample output from a recent run.
I have completed this same migration up until the cut over phase and it was just blocked there due to
HeartbeatLag
being so high by the time the migration completed. If really odd when theHeartbeatLag
kicks in and simply doesn't return to lower values ever increasing from then on out.I have also set the binlog retention to 72 hours.
I even tried to forcibly trigger the cutover and it replied with nothing is blocking the cutover.
I have followed all the recommended Aurora settings aside from running the migration on master directly.
aurora_enable_repl_bin_log_filtering
is set to 0Here is the command I ran.
Any guidance from other aurora users would be appreciated.