Skip to content

[3.109] Fix RedisWorker stalling when there are more than 20 tasks waiting on the same resource#7625

Merged
gerrod3 merged 3 commits intopulp:3.109from
gerrod3:fix-7624-backport-complete
Apr 22, 2026
Merged

[3.109] Fix RedisWorker stalling when there are more than 20 tasks waiting on the same resource#7625
gerrod3 merged 3 commits intopulp:3.109from
gerrod3:fix-7624-backport-complete

Conversation

@gerrod3
Copy link
Copy Markdown
Contributor

@gerrod3 gerrod3 commented Apr 22, 2026

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

dkliban and others added 3 commits April 22, 2026 14:19
When all tasks in the initial fetch batch are blocked on the same
resource, the worker now doubles the fetch limit and re-queries
from the oldest task. This repeats until a runnable task is found
or the entire queue has been examined.

closes: pulp#7612

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit f63b7e6)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit 36ba41a)
Verifies that when 25+ tasks are blocked on the same resource,
a task using a different resource at position 27 still gets picked up.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit 42190f4)
@gerrod3 gerrod3 force-pushed the fix-7624-backport-complete branch from 57d41cb to e712e3d Compare April 22, 2026 18:19
@gerrod3 gerrod3 merged commit b200213 into pulp:3.109 Apr 22, 2026
14 checks passed
@gerrod3 gerrod3 deleted the fix-7624-backport-complete branch April 22, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants