Move shard to read-only if there were problems with blobstor #446
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#446
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we move to a DEGRADED-READ-ONLY if error counter exceeds the threshold
err := sh.SetMode(mode.DegradedReadOnly)
If there we problems with the blobstor, degraded mode is an overkill, we should just move to read-only.
Possible approach:
metaerr
wrapper similar to how we handle logical errors.metabase
,pilorama
andwritecache
packages.This way we should make less errors in error handling.
Consider having 2 errors counters with the same threshold (we can report cumulative counter in control service for now).