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

should not return zero when lightning exits while processing the task #53384

Closed
zeminzhou opened this issue May 20, 2024 · 4 comments · Fixed by #53381
Closed

should not return zero when lightning exits while processing the task #53384

zeminzhou opened this issue May 20, 2024 · 4 comments · Fixed by #53381
Labels
severity/minor type/bug The issue is confirmed as a bug.

Comments

@zeminzhou
Copy link
Contributor

zeminzhou commented May 20, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. start tidb cluster
  2. start lightning server
  3. send task to lightning server
  4. send SIGINT to lightning server

2. What did you expect to see? (Required)

lightnng server exit with status 1

3. What did you see instead (Required)

lightnng server exit with status 0

4. What is your TiDB version? (Required)

master

@zeminzhou
Copy link
Contributor Author

/cc @lance6716

@lance6716
Copy link
Contributor

kill -9 will not let the program have a chance to handle it.

@zeminzhou
Copy link
Contributor Author

zeminzhou commented May 20, 2024

kill -9 will not let the program have a chance to handle it.

sorry, should be SIGINT, not SIGKILL.

@D3Hunter
Copy link
Contributor

required for k8s job, see #53381 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants