[#158] cmd/neofs-node: Handle objects from tombstone by metabase

Handle tombstone content by metabase instead of object GC queue.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-09 13:37:41 +03:00 committed by Alex Vanin
parent 49470ed613
commit 3c17e871e1

View file

@ -250,7 +250,7 @@ func initObjectService(c *cfg) {
putsvc.WithNetworkMapSource(c.cfgObject.netMapStorage),
putsvc.WithLocalAddressSource(c),
putsvc.WithFormatValidatorOpts(
objectCore.WithDeleteHandler(objGC),
objectCore.WithDeleteHandler(c.cfgObject.metastorage),
),
putsvc.WithNetworkState(c.cfgNetmap.state),
)