Skip to content

Troubleshooting spawned tasks functionality#318

Open
rakovskij-stanislav wants to merge 3 commits intoCERT-Polska:masterfrom
rakovskij-stanislav:add/fix_spawned_stalled_tasks
Open

Troubleshooting spawned tasks functionality#318
rakovskij-stanislav wants to merge 3 commits intoCERT-Polska:masterfrom
rakovskij-stanislav:add/fix_spawned_stalled_tasks

Conversation

@rakovskij-stanislav
Copy link
Contributor

Hello!

This PR introduces the functionality of crashing SPAWNED tasks that are not in a queue.

At some point of time, I experienced severe issues with redis, and it borned a condition where Consumer already pulled the task_id from a queue but had not an opportunity to update task status SPAWNED->STARTED. This situation creates the condition when zombie tasks appear - neither Consumers not Karton-System can deal with it.

This PR implements additional checks to crash such kind of tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant