Skip to content

Backport: Batch migration delay (#1288) to R26.3 - #1311

Merged
EbiRider merged 1 commit into
R26.3from
backport/batch-migration-delay-R26.3
Sep 4, 2026
Merged

Backport: Batch migration delay (#1288) to R26.3#1311
EbiRider merged 1 commit into
R26.3from
backport/batch-migration-delay-R26.3

Conversation

@wmousa

@wmousa wmousa commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Backport of #1288 ("Batch migration delay"), merged to main as 5957acadc.

Cherry-picked the squash commit directly; it applied cleanly with no conflicts (constants.py and tasks_runner_lvol_migration.py auto-merged). The applied diff is byte-identical to what landed on main — verified by diffing the two patches.

Contents

file change
simplyblock_core/constants.py +1
simplyblock_core/services/hub_controller_manager.py 123 lines changed
simplyblock_core/services/tasks_runner_batch_migration.py +3 −1
simplyblock_core/services/tasks_runner_lvol_migration.py +7 −1

Net: 4 files, +84 −50 — same as on main.

Verification on this branch

  • ruff — clean
  • pytest tests/unit simplyblock_core/test2150 passed, 7 skipped, 27 subtests, 0 failed
  • mypy — 2 pre-existing errors in simplyblock_core/services/tasks_runner_node_add.py (_inflight, _inflight_addrs need type annotations). Not introduced here: reproduced identically on an untouched origin/R26.3 worktree, and this backport does not touch that file.

🤖 Generated with Claude Code

* optimization towards batch lvol migration snapshot copy length

* fix hublvol race condition leading to detach of the controller

* Revert "optimization towards batch lvol migration snapshot copy length"

This reverts commit 62153c2.

* setting batch cluster size to 512 for testing purpose

* setting batch size to 256

* using a constant for batch size, mini refactor and using rpc exception instead of blanket

* Returning rpc exception
@EbiRider
EbiRider merged commit 01613c8 into R26.3 Sep 4, 2026
7 checks passed
@EbiRider
EbiRider deleted the backport/batch-migration-delay-R26.3 branch September 4, 2026 13:37
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