Do not fail RemoveChainLocalOverride
on engine.ErrResourceNotFound
error #1156
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#1156
Loading…
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?
Expected Behavior
When policy engine returns engine.ErrResourceNotFound error, it does not affect RemoveChainLocalOverride execution.
Current Behavior
Server returns
code = Internal desc = resource not found
Possible Solution
Update getCodeByLocalStorageErr function and check ErrResoueceNotFound error as well.
Steps to Reproduce (for bugs)
For more details ping @dkirillov
Context
This works fine with storages besides inmemory storage, so should not be quite an issue.
Regression
No
Your Environment
frostfs-node v0.40.0
not found
when removing local overrides #1162