mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #1060] [BUG] Asynq shows warning: Could not move task from "asynq:{default}:active" to "asynq:{default}:archived" #2531
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#2531
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 @silicon625 on GitHub (Jun 29, 2025).
Original GitHub issue: https://github.com/hibiken/asynq/issues/1060
Originally assigned to: @hibiken, @kamikazechaser on GitHub.
I am using asynq to manage requests that run CLI commands via exec.CommandContext.
To test failure handling, I intentionally configured a task with MaxRetry=0 and used an invalid binary path so the command would fail. Handle function will return error and let the task fail in this case.
After the task fails:
asynq logs the following warning once:
Inspector.GetTaskInfo("default", taskID) continues to report the task as active
However, asynq command line dashboard shows the task is correctly under archived, and data in Redis is the same.
Is there a way to fix this?
@silicon625 commented on GitHub (Jul 1, 2025):
Mystery solved: I was running Redis 5.0.7 on my server, which does not support the Lua script used in rdb.go.
After building and switching to Redis 8.0.0, everything works as expected.
The README currently states that Asynq requires Redis ≥ 4.0, but in practice, some features require a more recent version.
I suggest updating the documentation to reflect that a newer Redis version.
@RychEmrycho commented on GitHub (Dec 11, 2025):
since you found this issue, maybe consider to raise a PR for the updated doc @silicon625 :)