Investigate and document all possible disk errors that shoud count in shard error counter #838

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

Originally created by @fyrchik on GitHub (Oct 25, 2022).

As an example we have recently encountered too many open files error because of wrong system configuration.
Should we count them in the shard error counter?

Currently we count all errors from Open/Write as "physical" errors. Maybe we should behave differently in some situations.

Originally created by @fyrchik on GitHub (Oct 25, 2022). As an example we have recently encountered `too many open files` error because of wrong system configuration. Should we count them in the shard error counter? Currently we count all errors from `Open`/`Write` as "physical" errors. Maybe we should behave differently in some situations.
Author
Owner

@fyrchik commented on GitHub (Oct 26, 2022):

As a first step towards this goal I propose to define custom error type with IsLogical method. The engine can then simply call IsLogical and increase error counter if not.

@fyrchik commented on GitHub (Oct 26, 2022): As a first step towards this goal I propose to define custom error type with `IsLogical` method. The engine can then simply call `IsLogical` and increase error counter if not.
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#838
No description provided.