mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #525] [BUG] The task cannot be resumed after the worker is shut down while the task is running #245
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#245
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zijiwork on GitHub (Aug 3, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/525
Originally assigned to: @hibiken on GitHub.
Describe the bug
When the task is running, I try to shut down the worker, but restarting the worker task cannot recover normally, and the status of the Asynq Monitoring task is active. and cannot be closed
To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):
TaskWorker
try restarting the asynq worker
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Environment (please complete the following information):
asynq v0.19.0asynqmon v0.4.0@dxl3811051 commented on GitHub (Aug 5, 2022):
Hello, I want to ask you how to stop a running task. I click the stop button, but the task is still running. My task is a simple loop print
@liran commented on GitHub (Jun 27, 2023):
I've also had situations where tasks get stuck in active state and can't be resumed.

asynq version 0.24.1, redis 7.0.7 cluster
These 3 tasks are in the

activelistBut the task

stateis stillpending