mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[GH-ISSUE #55] [BUG] In-progress tasks stick around in the face of redis failure #2038
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#2038
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 @hibiken on GitHub (Jan 17, 2020).
Original GitHub issue: https://github.com/hibiken/asynq/issues/55
Originally assigned to: @hibiken on GitHub.
Describe the bug
When using
RedisFailoverClientOptto take advantage of automatic failover, the tasks that are in-progress when the failover happens don't get removed from in-progress.To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):
BackgroundwithRedisFailoverClientOptredis-cli -p <port> DEBUG sleep 30while some tasks are in progress.Backgroundwill resume processing tasks, but the tasks that were in-progress never get removed from theasynq:in_progresslist in redis.Expected behavior
Upon successful failover, the tasks that were in-progress should be removed from the
asynq:in_progressLISTEnvironment (please complete the following information):
asynqpackage: v0.1.0