forked from TrueCloudLab/frostfs-node
[#661] shard: Add blobstor rebuilder
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
a478050639
commit
44552a849b
5 changed files with 121 additions and 0 deletions
15
pkg/local_object_storage/blobstor/rebuild.go
Normal file
15
pkg/local_object_storage/blobstor/rebuild.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package blobstor
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
||||
)
|
||||
|
||||
type StorageIDUpdate interface {
|
||||
UpdateStorageID(ctx context.Context, obj *objectSDK.Object, storageID []byte) error
|
||||
}
|
||||
|
||||
func (b *BlobStor) Rebuild(_ context.Context, _ StorageIDUpdate) error {
|
||||
return nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue