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

关于 openfunction 异步任务的一些问题 #508

Open
ToviHe opened this issue Nov 8, 2023 · 2 comments
Open

关于 openfunction 异步任务的一些问题 #508

ToviHe opened this issue Nov 8, 2023 · 2 comments

Comments

@ToviHe
Copy link

ToviHe commented Nov 8, 2023

1、openfunction异步运行时是否可以配置运行的最长时间?比方说异步触发了一个任务,要求任务运行的时间在5min内,如果超过5min没有返回则直接将异步任务容器杀掉。
这个主要原因是我们目前存在串行的批量任务,比如A任务预期运行时间在5min内,如果超过5minA任务还没完成,其实说明任务已经出现了问题,此时按顺序触发B任务也可能会失败(比如A、B任务存在锁表情况),所以就要求有一个运行最长时间配置,由框架自行杀掉超时运行的容器;

2、openfunction是否有异步任务状态跟踪?比方说还是上面的问题,A任务执行了4min还没完成,业务就可能需要去看一下异步任务具体情况

@benjaminhuo
Copy link
Member

@wanjunlei @wrongerror 我们测过 workload 为 job 的异步任务吗?workload 为 deployment 的异步任务是没有超时的我记得

@ToviHe
Copy link
Author

ToviHe commented Nov 9, 2023

那是否有异步状态跟踪呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants