frostfs-node/pkg/services/object/put
Leonard Lyubich 02f2a98bcc [#778] services/object: Return the composite error of PUT operation
In previous implementation Object service's handler returned const error in
case of failure (full or partial) of PUT operation. This did not even allow
us to roughly guess what the reason is. Not as a complete solution, but to
alleviate some cases where all nodes in a container return the same error,
it is suggested to return the error of the last server that responded.

Return latest server error from placement loop of `iteratePlacement` method
of `distributedTarget` type.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-10 16:49:37 +03:00
..
v2 [#607] object/put: Make client constructor to work with group address 2021-06-28 15:52:50 +03:00
distributed.go [#778] services/object: Return the composite error of PUT operation 2021-09-10 16:49:37 +03:00
local.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
prm.go [#607] object/put: Make client constructor to work with group address 2021-06-28 15:52:50 +03:00
remote.go [#607] object/put: Make client constructor to work with group address 2021-06-28 15:52:50 +03:00
res.go [#33] service/object: Implement object Put distributed service 2020-10-02 11:25:35 +03:00
service.go [#645] *: Change the locality condition of the node from the placement 2021-09-07 09:53:18 +03:00
streamer.go [#645] *: Change the locality condition of the node from the placement 2021-09-07 09:53:18 +03:00
validation.go [#580] v2/object/put: Check payload size of the relayed objects 2021-06-09 12:08:37 +03:00