writecache: Fix remaining addr2key uses #660
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 milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#660
Loading…
Reference in a new issue
No description provided.
Delete branch "ale64bit/frostfs-node:fix/badger-delete-addr-bug"
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?
Signed-off-by: Alejandro Lopez a.lopez@yadro.com
0d0394172f
to3781479a85
Are these errors caught by tests?
Not currently, AFAIK. I discovered it with a test for the lite cache: #654/files. We can generalize that one after it's merged and use it for the other caches as well.
@ale64bit I thought Generic tests are exactly like this (and more comprehensive) -- it seems not.
In this particular case, the test caught it because it deletes twice the same key, which should result first in no error and then in
ObjectNotFound
error, as the contract requires. But at any rate, I do think that the generic tests should be more comprehensive than they currently are.[#xx] writecache: Fix remaining addr2key usesto writecache: Fix remaining addr2key uses