mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #275] [BUG] Deleted tasks are preventing new tasks from being enqueued #2133
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#2133
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 @nilam-sorathia on GitHub (Jun 4, 2021).
Original GitHub issue: https://github.com/hibiken/asynq/issues/275
Originally assigned to: @hibiken on GitHub.
Describe the bug
When a unique task is scheduled and then subsequently deleted with an outstanding ttl, that task prevents a new task from being enqueued until the ttl expires.
Note: the task was deleted using Asynqmon
To Reproduce
Expected behavior
When a task is deleted, the unique constraint of a new task should not conflict with the deleted task regardless if the deleted task's unique ttl is still outstanding. Instead the new task should be to be enqueued/scheduled without error.
Environment
asynqpackageasynq: v0.16.0
asynqmon: v0.1-beta1
@hibiken commented on GitHub (Jun 5, 2021):
@nilam-sorathia Thank you for reporting this bug! I completely overlooked this, I'll fix this in the next few days.
Thank you again for spotting and reporting this bug 🙏
@nilam-sorathia commented on GitHub (Jun 5, 2021):
Thank you for the quick reply. We appreciate your investment in this library and we plan on depending on it more. Would you please update this thread on whether the fix will be in asynq or asynqmon. Thank you @hibiken
@hibiken commented on GitHub (Jun 6, 2021):
The main fix is going to be in this
asynqrepo, but we'll also need to update the dependency version inasynqmonrepo as well. I'll make sure to close this issue when both of these are addressed 👍@hibiken commented on GitHub (Jun 6, 2021):
The bug is fixed now. Upgrading to the latest version
0.1-beta2ofasynqmonshould fix the issue 👍Please let me know if you are still seeing the bug!
@nilam-sorathia commented on GitHub (Jun 6, 2021):
@hibiken Very much appreciated!