Allow to migrate objects between storages #661
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#661
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pkg/local_object_storage
should allow to copy items from one storage to another. Usecase: reconfigure width+depth for blobovnicza.A separate command (or a
frostfs-node
/frostfs-adm
subcommand) can take 2 storage node configs and use the routine to reconfigure everything according to new parameters.Another (may be easier and better) option is to accept type and parameters specifically for the blobstor substorage -- this will allow to (1) not touch everything else and (2) makes it more straightforward to copy from /path/a to /path/b. For each
type1, type2
pair optimized migration could be available, for now we are only interested inwidth+depth
for blobovniczas.We may assume that there is enough space to have both old an new versions (makes idempotence easier), later can fix this.
Probably, creating new metabase for this shard is an option (or restarting with
resync_metabase: true
after the migration).Decided to do this migration on startup if config parameters were changed.
In the initial implementation only blobovnicza configuration changes are supported.