frostfs-node/pkg/services/object_manager/placement
Leonard Lyubich fe90456dcc [#645] placement: Overload result of Traverser.Next method
In previous implementation `placement.Traverser.Next` method returned slice
of `network.AddressGroup` elements. There is a need to process keys of
storage nodes besides network addresses for intra-container communication.

Wrap `network.AddressGroup` in a new type `placement.Node` that summarizes
the storage node information required for communication. Return slice of
`Node` instances from `Traverser.Next` method. Fix compilation breaks in
dependent packages.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-07 09:53:18 +03:00
..
.gitkeep [#11] Trim the old functionality 2020-10-02 11:22:55 +03:00
netmap.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
traverser.go [#645] placement: Overload result of Traverser.Next method 2021-09-07 09:53:18 +03:00
traverser_test.go [#645] placement: Overload result of Traverser.Next method 2021-09-07 09:53:18 +03:00