Skip to content

poolmanager: update wrandom partition to respect gap#7865

Merged
mksahakyan merged 1 commit into11.0from
issue-7863-wrandom-11.0
Aug 27, 2025
Merged

poolmanager: update wrandom partition to respect gap#7865
mksahakyan merged 1 commit into11.0from
issue-7863-wrandom-11.0

Conversation

@kofemann
Copy link
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:05
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-11.0 branch from 602dcf1 to fb20f7c Compare August 21, 2025 17:21
@kofemann kofemann marked this pull request as ready for review August 22, 2025 10:31
@mksahakyan mksahakyan merged commit 4167885 into 11.0 Aug 27, 2025
3 checks passed
@mksahakyan mksahakyan deleted the issue-7863-wrandom-11.0 branch August 27, 2025 07:57
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