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

[ 问题咨询 ]如何结束异常状态的SQL? #156

Closed
thickhang opened this issue Apr 28, 2019 · 5 comments
Closed

[ 问题咨询 ]如何结束异常状态的SQL? #156

thickhang opened this issue Apr 28, 2019 · 5 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@thickhang
Copy link

问题描述

由于某种意外原因,比如数据库服务意外宕机,导致某些工单状态一直在确认中...不停产生日志报错,请问如何结束此类工单?

版本信息

  • 应用版本/分支:Release v1.4.5
  • 部署方式:Docker部署
@thickhang thickhang added the question Further information is requested label Apr 28, 2019
@LeoQuote
Copy link
Collaborator

现阶段只能在admin界面或数据库中将工单状态直接置为中止或完成。

可以考虑后续加一个按钮可以强行结束工单。

@hhyo
Copy link
Owner

hhyo commented Apr 28, 2019

只能修改为人工终止的状态,否则详情打开会报错

@LeoQuote LeoQuote added the enhancement New feature or request label Apr 29, 2019
@hhyo
Copy link
Owner

hhyo commented May 12, 2019

新版应该不会有这个问题了吧,只要qcluster起来,任务结束后一定会修改工单状态,并且有异常的会显示异常信息

@LeoQuote
Copy link
Collaborator

@hhyo 当时回复的时候没注意,不过新版依然没有配置超时吧,要不要加一个全局默认超时时间?

@hhyo
Copy link
Owner

hhyo commented May 12, 2019

超时这个不好说,DDL大表执行一天的可能都有

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants