frostfs-node/cmd
Leonard Lyubich 0ec8f529ab [#842] object/delete: Set tombstone local node as tombstone owner
All objects in NeoFS must have owner ID. In previous implementation Object
Delete service handler set owner ID from request session token. If removal
was executed w/o a session, object with tombstone was prepared incorrectly.
In order to fix this node should set its own ID and become an owner of the
tombstone object.

Extend `NetworkInfo` interface required by Object.Delete handler with
`LocalNodeID` method which returns `owner.ID` of the local node. Implement
the method on `networkState` component of storage node application which is
updated on each node state change in NeoFS network map. Set owner returned
by `LocalNodeID` call as tombstone object's owner in Delete handler.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-11-10 16:18:02 +03:00
..
neofs-adm [#733] neofs-adm: read contracts on start 2021-11-01 15:17:18 +03:00
neofs-cli [#950] cli: Refactor usage of NeoFS API client 2021-11-03 18:26:36 +03:00
neofs-ir [#936] ir: Do not require number of Alphabet contracts to be set 2021-11-10 16:11:57 +03:00
neofs-lens [#791] neofs-lens: inspect objects by address 2021-10-18 11:55:02 +03:00
neofs-node [#842] object/delete: Set tombstone local node as tombstone owner 2021-11-10 16:18:02 +03:00