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

一个集群一个服务部署了多个副本,通过定时任务内部调接口提示一直被锁,返回失败。 #42

Open
linany opened this issue Mar 6, 2024 · 0 comments

Comments

@linany
Copy link

linany commented Mar 6, 2024

一个集群一个服务部署了多个副本,通过xxl-job内部调接口提示一直被锁,返回失败。但如果我用swagger单独调该接口是没有问题的,我看了一下redis里面的数据,也没有上锁的key。如果是服务没有多副本的情况也是不会报错的,请问这是什么情况呢。具体的报错如下:
org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 : [{"timestamp":"2024-03-05T06:41:16.013+00:00","status":500,"path":"/v1/things/job-handler/cal-things-usage","code":"http.500","error":"Internal Server Error","message":"Failed to acquire Lock(lock.com.things.api.JobHandlerController.calThingsUsage) with timeout(1s)"}]

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

1 participant