Skip to content

poolmanager: update wrandom partition to respect gap - #7868

Merged
mksahakyan merged 1 commit into
10.0from
issue-7863-wrandom-10.0
Aug 27, 2025
Merged

mksahakyan merged 1 commit into
10.0from
issue-7863-wrandom-10.0

Conversation

@kofemann

Copy link
Copy Markdown
Member

Motivation:
The wrandom partition ignores pool gap, thus can select a full pull. Issue: #7863

Modification:
Update WRandomPartition to skip pools that will run into gap if accept the file. Added unit test to ensure the behavior.

Result:
full pulls are skipped by wrandom partition.

Acked-by: Dmitry Litvintsev
Target: master, 11.0, 10.2, 10.1, 10.0, 9.2
Require-book: no
Require-notes: yes
(cherry picked from commit a778f97)

@kofemann
kofemann marked this pull request as draft August 21, 2025 17:03
Motivation:
The wrandom partition ignores pool gap, thus can select a full pull.
Issue: #7863

Modification:
Update WRandomPartition to skip pools that will run into gap if accept
the file. Added unit test to ensure the behavior.

Result:
full pulls are skipped by wrandom partition.

Acked-by: Dmitry Litvintsev
Target: master, 11.0, 10.2, 10.1, 10.0, 9.2
Require-book: no
Require-notes: yes
(cherry picked from commit a778f97)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
@kofemann
kofemann force-pushed the issue-7863-wrandom-10.0 branch from 04b559b to 58b9adb Compare August 21, 2025 17:21
@kofemann kofemann changed the title 10.0Issue 7863 wrandom 10.0 poolmanager: update wrandom partition to respect gap Aug 22, 2025
@kofemann
kofemann marked this pull request as ready for review August 22, 2025 10:32
@mksahakyan
mksahakyan merged commit 38885de into 10.0 Aug 27, 2025
2 checks passed
@mksahakyan
mksahakyan deleted the issue-7863-wrandom-10.0 branch August 27, 2025 07:58
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