Unlimited blobovnicza #1226
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#1226
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:feat/unlimited_blobovnicza"
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?
leaf_width
limitation3c4cf2e5c0
to8ec29ba1fc
@ -127,0 +133,4 @@
if len(entries) == 0 {
return false, 0, nil
}
idxs := make([]uint64, 0, len(entries))
You create a slice and sort it only to return the maximum.
Why not just search for maximum in a loop?
Oops, fixed
@ -131,3 +131,3 @@
levelWidth := b.blzShallowWidth
if isLeafLevel {
levelWidth = b.blzLeafWidth
hasDBs, maxIdx, e := getBlobovniczaMaxIndex(filepath.Join(append([]string{b.rootPath}, curPath...)...))
What's wrong with
err
? It seems we do not shadow anything.fixed
8ec29ba1fc
toaaad5c1d60
aaad5c1d60
to7188993c3a
7188993c3a
to6e3e75d0a2
6e3e75d0a2
to62cbb72a5e