大型脚本执行时出现工单状态异常
#2651
Replies: 2 comments 2 replies
-
简单搜索就可以搜到这个报错信息 Archery/sql/utils/execute_sql.py Line 25 in 14fbd5e 可以多加一些日志看看具体情况 |
Beta Was this translation helpful? Give feedback.
1 reply
-
看上去是默认的retry参数和timeout太短了 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
archery版本为最新版,docker image sha:sha256:2187bb2c116ce9af21509946a625e4e9c299ed448363d059a2c9bb418f01fc8d。
在执行小型脚本时,没有错误。
但是在执行一个4M长度的脚本时,出现以下错误:
`
工单状态不正确,禁止执行! : Traceback (most recent call last):
File "/opt/venv4archery/lib/python3.11/site-packages/django_q/cluster.py", line 432, in worker
res = f(*task["args"], **task["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/archery/sql/utils/execute_sql.py", line 25, in execute
raise Exception("工单状态不正确,禁止执行!")
Exception: 工单状态不正确,禁止执行!
`
如何排查原因?
Beta Was this translation helpful? Give feedback.
All reactions