Retransmit container related commands to other storage nodes #426

Open
opened 2025-12-28 17:19:26 +00:00 by sami · 1 comment
Owner

Originally created by @alexvanin on GitHub (Jan 27, 2022).

If the Storage node configured in relay mode, then it may not have any side chain GAS on it's account. And even if it has side chain GAS, it won't be updated during side chain GAS emission, because GAS goes to the Storage nodes from network map.

Without side chain GAS, storage node can't process container related operation, because they trigger chain invocations.
To solve this issue, storage node may find nodes from the network map and resend request to the nearest node.

Originally created by @alexvanin on GitHub (Jan 27, 2022). If the Storage node configured in relay mode, then it may not have any side chain GAS on it's account. And even if it has side chain GAS, it won't be updated during side chain GAS emission, because GAS goes to the Storage nodes from network map. Without side chain GAS, storage node can't process container related operation, because they trigger chain invocations. To solve this issue, storage node may find nodes from the network map and resend request to the nearest node.
Author
Owner

@cthulhu-rider commented on GitHub (May 12, 2022):

Solution

In each Container service handler, if node is configured with relay flag, do:

  1. recv network map
  2. select "closest" node from the netmap (in initial implementation it could be a random node)
  3. forward request to the selected node and forward response from it
@cthulhu-rider commented on GitHub (May 12, 2022): ## Solution In each `Container` service handler, if node is configured with `relay` flag, do: 1. recv network map 2. select "closest" node from the netmap (in initial implementation it could be a random node) 3. forward request to the selected node and forward response from it
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#426
No description provided.