Skip to content

[3.109] Change redis worker task pickup algo to respect FIFO shared resources#7626

Merged
gerrod3 merged 2 commits intopulp:3.109from
gerrod3:backport-7623-3.109
Apr 22, 2026
Merged

[3.109] Change redis worker task pickup algo to respect FIFO shared resources#7626
gerrod3 merged 2 commits intopulp:3.109from
gerrod3:backport-7623-3.109

Conversation

@gerrod3
Copy link
Copy Markdown
Contributor

@gerrod3 gerrod3 commented Apr 22, 2026

Manual backport of #7623

📜 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

pedro-psb and others added 2 commits April 22, 2026 14:59
A finalizer task (exclusive resource lock) can start before sibling tasks
(shared resource lock) have completed if they are blocked on a separate
exclusive resource. In the Redis worker, this bypasses FIFO ordering because
the sibling's shared resource is never added to blocked_shared when the
blocking reason is its exclusive resource.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit 653a3b3)
@gerrod3 gerrod3 enabled auto-merge (rebase) April 22, 2026 19:09
@gerrod3 gerrod3 merged commit d31c87f into pulp:3.109 Apr 22, 2026
14 checks passed
@gerrod3 gerrod3 deleted the backport-7623-3.109 branch April 22, 2026 19:37
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