Skip to content

Fix for request stuck in deleting state#1520

Merged
matush-v merged 2 commits into
masterfrom
deleting-request
May 8, 2017
Merged

Fix for request stuck in deleting state#1520
matush-v merged 2 commits into
masterfrom
deleting-request

Conversation

@matush-v

Copy link
Copy Markdown
Contributor

The main thing here is that I moved the check to re-enqueue the cleaning request outside of the if block else if (shouldKillTask(cleanupTask, activeTaskIds, cleaningTasks, incrementalCleaningTasks) && checkLBStateAndShouldKillTask(cleanupTask))

That should allow it to check if it needs to re-enqueue even if the task fails and doesn't clean up properly. Added some tests for this as well

@matush-v matush-v requested a review from ssalinas April 28, 2017 21:52
@ssalinas ssalinas modified the milestone: 0.16.0 May 1, 2017
@ssalinas

ssalinas commented May 1, 2017

Copy link
Copy Markdown
Contributor

LGTM

@matush-v matush-v merged commit 3230049 into master May 8, 2017
@matush-v matush-v deleted the deleting-request branch May 8, 2017 15:42
@ssalinas ssalinas modified the milestones: 0.16.0, 0.15.1 May 8, 2017
@ssalinas ssalinas changed the title Deleting request Fix for request stuck in deleting state May 10, 2017
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.

2 participants