[#1337] shard: Disable background rebuild
Some checks are pending
DCO action / DCO (pull_request) Successful in 2m39s
Build / Build Components (1.22) (pull_request) Successful in 2m52s
Build / Build Components (1.23) (pull_request) Has started running
Tests and linters / Run gofumpt (pull_request) Successful in 2m36s
Vulncheck / Vulncheck (pull_request) Successful in 2m49s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m38s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m35s
Tests and linters / Staticcheck (pull_request) Successful in 3m31s
Tests and linters / Tests (1.23) (pull_request) Successful in 3m36s
Tests and linters / Tests with -race (pull_request) Successful in 3m43s
Tests and linters / gopls check (pull_request) Successful in 4m16s
Tests and linters / Lint (pull_request) Successful in 4m32s

Since `frostfs-cli control shards rebuild` command was added,
there is no need for background rebuild now.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-09-04 09:30:56 +03:00
parent 288dff6089
commit e94c30a98f
16 changed files with 49 additions and 138 deletions

View file

@ -11,17 +11,10 @@ type RebuildRes struct {
FilesRemoved uint64
}
type RebuildAction struct {
SchemaChange bool
FillPercent bool
FillPercentValue int
}
type RebuildPrm struct {
MetaStorage MetaStorage
WorkerLimiter ConcurrentWorkersLimiter
Action RebuildAction
FillPercent int
}
type MetaStorage interface {