Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drainer异常退出后不能自动重启 #1125

Open
Novsev opened this issue Jan 13, 2022 · 0 comments
Open

drainer异常退出后不能自动重启 #1125

Novsev opened this issue Jan 13, 2022 · 0 comments
Assignees
Labels
type/bug This issue is a bug

Comments

@Novsev
Copy link

Novsev commented Jan 13, 2022

详见 https://internal.pingcap.net/jira/browse/ONCALL-4351

[2022/01/11 02:15:11.196 +08:00] [INFO] [main.go:73] ["drainer exit"]

该日志对应的代码是:https://github.com/pingcap/tidb-binlog/blob/release-5.1/cmd/drainer/main.go#L73
为 main 函数最后一行,说明 drainer 退出码为 0,此时 systemd 会认为 drainer 是正常退出,于是不会重启。

@cyliu0 cyliu0 added the type/bug This issue is a bug label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

3 participants