Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand incomplete object put error #778

Closed
alexvanin opened this issue Aug 29, 2021 · 0 comments · Fixed by #813
Closed

Expand incomplete object put error #778

alexvanin opened this issue Aug 29, 2021 · 0 comments · Fixed by #813
Assignees
Labels
neofs-storage Storage node application issues

Comments

@alexvanin
Copy link
Contributor

If all container nodes refuse to store the object, node throws incomplete object put error. While we are lacking of proper error handling, wrapping latest error message in the chain of put request is better than doing absolutely nothing.

@cthulhu-rider cthulhu-rider self-assigned this Sep 8, 2021
cthulhu-rider pushed a commit to cthulhu-rider/neofs-node that referenced this issue Sep 8, 2021
…eration

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>
cthulhu-rider pushed a commit to cthulhu-rider/neofs-node that referenced this issue Sep 10, 2021
…ompletePut

Make `errIncompletePut` to be a structure which wraps single client error.
Wrap error of the last client into `errIncompletePut` during placement
execution.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
neofs-storage Storage node application issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants