neofs-node icon indicating copy to clipboard operation
neofs-node copied to clipboard

`ignoreErrors` in WC, dump shard routine, etc

Open carpawell opened this issue 1 month ago • 0 comments

Is your feature request related to a problem? Please describe.

I'm always frustrated when we are not sure if it is OK to ignore every error or not: https://github.com/nspcc-dev/neofs-node/pull/3091#discussion_r1930884103.

Describe the solution you'd like

Ignore only "read" errors in processes that are about making as many saving things as possible. It makes no sense to continue flushing or dumping objects if the receiving side (disk) is not ready to take any more objects (no space left, global disk errors).

In fact, it may be already implemented but it needs to be rechecked.

Describe alternatives you've considered

The worst thing about skipping "write" errors is wasting time on useless operations. At least, it looks like. Maybe it is not that bad to really ignore every error if it was asked so.

Additional context

https://github.com/nspcc-dev/neofs-node/pull/3091

carpawell avatar Jan 29 '25 14:01 carpawell