[#1312] Drop handling of system attributes with NeoFS prefix

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2024-09-20 10:58:22 +03:00
parent c290d079fd
commit c34b8acedd
5 changed files with 5 additions and 18 deletions

View file

@ -252,7 +252,7 @@ func getNextObjectsWithExpirationEpochBatch(ctx context.Context, db *bbolt.DB, i
continue
}
attributeKey := string(attrKey[1+cidSize:])
if attributeKey != objectV2.SysAttributeExpEpochNeoFS && attributeKey != objectV2.SysAttributeExpEpoch {
if attributeKey != objectV2.SysAttributeExpEpoch {
continue
}
var containerID cid.ID