Skip to content

feat(admin): add manual transition job controls#335

Open
houseme wants to merge 1 commit into
mainfrom
houseme/ilm-manual-transition-status-wait-cancel-v2
Open

feat(admin): add manual transition job controls#335
houseme wants to merge 1 commit into
mainfrom
houseme/ilm-manual-transition-status-wait-cancel-v2

Conversation

@houseme

@houseme houseme commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Related Issues

rustfs/backlog#1480
rustfs/backlog#1481

Background

RustFS manual transition durable jobs expose async run, status, wait, and cancel contracts. The CLI needs matching rc admin ilm transition controls while preserving the existing synchronous run behavior.

Solution

Add rc admin ilm transition run --async, status, wait, and cancel commands. The implementation keeps the existing synchronous request shape compatible, adds optional parsing for durable job endpoints, and maps status/cancel error classes for 403, 404, 409, and 501 responses.

Verification

  • cargo fmt --all --check
  • git diff --check
  • cargo test -p rustfs-cli --test admin_ilm
  • cargo test -p rustfs-cli test_parse_admin_ilm_transition
  • cargo test -p rc-s3 manual_transition
  • cargo check --workspace
  • cargo test -p rustfs-cli --test output_schema_v3
  • cargo clippy --workspace -- -D warnings
  • cargo test --workspace

Compatibility

The existing synchronous run API remains unchanged and legacy responses without durable job fields still parse successfully.

Add rc admin ilm transition async job controls for status, wait, and cancel operations while preserving the existing synchronous run contract.

Co-Authored-By: heihutu <heihutu@gmail.com>
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