test(ilm): cover stale transition admission reclaim - #5273
Merged
houseme merged 1 commit intoJul 26, 2026
Conversation
Co-Authored-By: heihutu <heihutu@gmail.com>
Contributor
|
CLA requirements are satisfied for this pull request. |
houseme
marked this pull request as ready for review
July 26, 2026 06:34
houseme
enabled auto-merge (squash)
July 26, 2026 06:34
houseme
marked this pull request as draft
July 26, 2026 06:45
auto-merge was automatically disabled
July 26, 2026 06:45
Pull request was converted to draft
houseme
marked this pull request as ready for review
July 26, 2026 06:47
houseme
enabled auto-merge (squash)
July 26, 2026 06:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Related to rustfs/backlog#1479 and rustfs/backlog#1481.
Summary of Changes
Adds a focused manual transition admission regression for stale scope records. The test covers both orphaned scope admission records whose job record is missing and stale scope records whose job has already reached a terminal state, then verifies a replacement job for the same scope can reclaim admission and persist the new job, lease, and owner identity.
This complements the already-merged same-scope active conflict coverage in #5267 and the lost-worker-result admission release coverage in #5269 without changing production behavior.
Verification
cargo test -p rustfs-ecstore manual_transition_admission_reclaims_stale_scope_recordscargo fmt --all --checkgit diff --check origin/main...HEADgit diff --checkFull
make pre-commitwas not run locally for this small test-only slice.Impact
Test-only change. No runtime behavior, API, wire format, storage format, configuration, or deployment impact.
Additional Notes
Opened as draft because the full
make pre-commitgate was not run locally for this small test-only slice.