[#18] Add badgerstore substorage implementation #556
No reviewers
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#556
Loading…
Reference in a new issue
No description provided.
Delete branch "ale64bit/frostfs-node:feature/flat-blobstore-test"
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
@ -0,0 +132,4 @@
addrKey := addressKey(req.Address)
err := s.db.Update(func(tx *badger.Txn) error {
if _, err := tx.Get(addrKey[:]); err != nil {
Please explain why Get first and only then Delete?
Our
Delete
must returnapistatus.ObjectNotFound
. But badger doesn't returnbadger.ErrKeyNotFound
when deleting, so I callGet
first to check that.8600e65f59
to440cf85d62
Pull request closed