Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement rebalance command to allow move parts from shadow between disks #1024

Open
Slach opened this issue Oct 9, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@Slach
Copy link
Collaborator

Slach commented Oct 9, 2024

check system.parts skip all object disk parts
apply following rules

  • if part exists in the same disk - do nothing
  • part present in other disk - make hard links, move part to other disk in backup_name/metadata.json, delete part in original disk
  • part not present in other disks, depends on keep_free_space and unreserved_space from system.disks, and volumes in system.storage_policies choose proper disk, copy part, move part to other dsk in backup_name/metadata.json, delete part in original disk
@Slach Slach self-assigned this Oct 9, 2024
@Slach Slach added this to the 2.7.0 milestone Oct 9, 2024
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

No branches or pull requests

2 participants
@Slach and others