forked from TrueCloudLab/frostfs-node
[#1337] blobovniczatree: Add rebuild by fill percent
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
007827255e
commit
d508da8397
9 changed files with 470 additions and 119 deletions
|
@ -11,9 +11,17 @@ type RebuildRes struct {
|
|||
FilesRemoved uint64
|
||||
}
|
||||
|
||||
type RebuildAction struct {
|
||||
SchemaChange bool
|
||||
|
||||
FillPercent bool
|
||||
FillPercentValue int
|
||||
}
|
||||
|
||||
type RebuildPrm struct {
|
||||
MetaStorage MetaStorage
|
||||
WorkerLimiter ConcurrentWorkersLimiter
|
||||
Action RebuildAction
|
||||
}
|
||||
|
||||
type MetaStorage interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue