forked from TrueCloudLab/frostfs-s3-gw
[#653] Support removal old combined objects
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
4a430257a4
commit
396c89f7bc
8 changed files with 88 additions and 28 deletions
|
@ -49,7 +49,7 @@ type Service interface {
|
|||
// AddVersion creates new version in tree.
|
||||
// Returns new node id and object ids of old versions (OIDS) that must be deleted.
|
||||
// OIDs can be returned even if error is not nil.
|
||||
AddVersion(ctx context.Context, bktInfo *data.BucketInfo, newVersion *data.NodeVersion) (uint64, []oid.ID, error)
|
||||
AddVersion(ctx context.Context, bktInfo *data.BucketInfo, newVersion *data.NodeVersion) (uint64, []data.OIDInfo, error)
|
||||
RemoveVersion(ctx context.Context, bktInfo *data.BucketInfo, nodeID uint64) error
|
||||
|
||||
PutLock(ctx context.Context, bktInfo *data.BucketInfo, nodeID uint64, lock *data.LockInfo) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue