frostfs-node/pkg
Aleksey Savchuk d4ff44ef83
[#1585] metabase: Add missing expiration epoch for object stored with EC
Suppose there's a complex object stored with EC. It's divided into
parts, and these parts are further divided into chunks, except for
the linking object. The chunks and linking object are stored in the
metabase.

An expiration epoch of the original object should be stored in the
expired objects index. In the described scenario, there's no way to
determine the expiration epoch of the object from its chunks because
a chunk's parent is a part of the original object, not the original
object itself. However, the epoch can be determined from the linking
object.

Previously, whether the epoch was stored or not depended on the order
in which the chunks and linking object were written. Now it's fixed.

The absense of the expiration epoch prevented the GC from deleting
this object upon its expiration.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-27 15:31:01 +03:00
..
ape [#1388] apeSvc: Drop unused and make annotations 2024-09-25 08:55:38 +00:00
core [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
innerring [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
local_object_storage [#1585] metabase: Add missing expiration epoch for object stored with EC 2024-12-27 15:31:01 +03:00
morph [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
network [#1342] network/cache: Add node address to error multiClient 2024-12-18 19:27:35 +03:00
services [#1512] object: Fix writePart for EC-container 2024-12-26 11:27:55 +00:00
tracing [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
util [#1501] cli: Move APE-chain parser methods to pkg/util 2024-11-20 07:58:32 +00:00