Commit 4f5e58c
Panic if InitiateHeartbeat exhausts retries to avoid looping infinitely (#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 <[email protected]>
* ensure cleanup
---------
Co-authored-by: Copilot <[email protected]>
* add toxiproxy option for localtests (#1591)
---------
Co-authored-by: Jan Grodowski <[email protected]>1 parent 6b676f1 commit 4f5e58c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
578 | 579 | | |
579 | 580 | | |
580 | 581 | | |
| |||
0 commit comments