Skip to content

test(ilm): cover stale transition admission reclaim - #5273

Merged
houseme merged 1 commit into
mainfrom
houseme/backlog-1479-distributed-admission-contract
Jul 26, 2026
Merged

test(ilm): cover stale transition admission reclaim#5273
houseme merged 1 commit into
mainfrom
houseme/backlog-1479-distributed-admission-contract

Conversation

@houseme

@houseme houseme commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

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_records
  • cargo fmt --all --check
  • git diff --check origin/main...HEAD
  • git diff --check

Full make pre-commit was 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-commit gate was not run locally for this small test-only slice.

Co-Authored-By: heihutu <heihutu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

CLA requirements are satisfied for this pull request.

@houseme
houseme marked this pull request as ready for review July 26, 2026 06:34
@houseme
houseme enabled auto-merge (squash) July 26, 2026 06:34
@houseme
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
houseme marked this pull request as ready for review July 26, 2026 06:47
@houseme
houseme enabled auto-merge (squash) July 26, 2026 06:47
@houseme
houseme merged commit 12b7f22 into main Jul 26, 2026
18 of 19 checks passed
@houseme
houseme deleted the houseme/backlog-1479-distributed-admission-contract branch July 26, 2026 06:55
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.

1 participant