Skip to content

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

Description

@Slach

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions