github / github/gh-ost

Identify when the inspected server is restarted, and terminate

Open
#785 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

Context: 2nd scenario depicted in https://github.com/github/gh-ost/issues/784

In the 2nd scenario, what happened was that the inspected replica was rebooted. `gh-ost` kept hanging onto the end of the binary log where the replica was rebooted, and never rotated onto the next binlog. It also apparently retried enough times to see the replica healthy again.

`gh-ost` should identify when a server is restarted. At this time I'm not expecting it to recover and resume work -- instead I prefer that it terminates with error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.