Add sysbench localtest by meiji163 · Pull Request #1590 · github/gh-ost

added 2 commits

October 8, 2025 11:48

@meiji163 meiji163 marked this pull request as ready for review

October 8, 2025 19:26

Copilot AI review requested due to automatic review settings

October 8, 2025 19:26

@meiji163

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

@meiji163

mhamza15

meiji163 added a commit that referenced this pull request

Oct 10, 2025
* add sysbench localtest

* fix table name

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* ensure cleanup

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

meiji163 added a commit that referenced this pull request

Oct 10, 2025
…ly (#1594)

* Panic if InitiateHeartbeat exhausts retries to avoid looping infinitely.

Based on experience, if the writer database fails inbeetween the copy & cutover stages (e.g. during cutover pause), the heartbeat writes will fail and stop,
then leading to throttled state and an infinite loop of throttler.shouldThrottle().

Since this state is irrecoverable, make the heartbeat writer panic if retries are exhausted, so that the migration can fail and be restarted later.

* Add sysbench localtest (#1590)

* add sysbench localtest

* fix table name

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* ensure cleanup

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* add toxiproxy option for localtests (#1591)

---------

Co-authored-by: Jan Grodowski <jan.grodowski@shopify.com>