mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #803] [BUG] Can not manually retry invisible archived tasks #2419
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#2419
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 @dusty-cjh on GitHub (Jan 11, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/803
Originally assigned to: @hibiken on GitHub.
Describe the bug
When meeting significant task failures, the archived tasks shown in
asynq dashis max 9999.After manually retry:
asynq task runall --queue=default --state=archivedThe tasks can be seen in dash is successfully retried, and then the archived menu just shows 0,
but other failed tasks exceeding this range isn't shown, and never can be retried manually.
Which incurs cumulated Redis memory growth.
To Reproduce
Massive task failed in short time.
(due to the alibaba 11-12 crashing in my case)
Expected behavior
asynq dashcan show the exactly archived tasks, which can be fairly retried manually.Or can I set the archived max tasks by any parameter?
I saw the fixed value
maxArchiveSize=10000, used to trim the exceeded tasks.but I don't see any method to recover the trimmed tasks.
So, is these requirements plausible:
Screenshots

Environment (please complete the following information):
Additional context
This problem is so basic, if there have any existing solution, or the docs I haven't find, please drop me a link, thank you 🙏
@kamikazechaser commented on GitHub (Jan 28, 2024):
Related to: