Reputation: 322
I have one task for databases query
. Earlier the worker2
got logged from our system. About 30 mins later, worker1
got logged for the same task, pretty much like restarting the job
, which broke my sql
query. My question is
worker2
failed then starting worker1
?worker1
started and failed worker2
?From my code, I didnot set any time limit? Thank you in advance for any thoughts.
I am using job = chain(single_job), but i only have one single_job job() starting the job.
-Updates:
I solved this bug, if you have the same issue, you can do below.
Please check the
visibility timeout
for yourcelery
Please check the version to upgraded one.
Please cancel the retry for
sql
query, sometimesql
query do not need to havemessage queue
.
Upvotes: 0
Views: 144
Reputation: 15946
There are about eighteen different scenarios that could cause what you describe. The three most common:
Upvotes: 1