Allow to customize blobovnicza's leaf width #622
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#622
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:feat/blobovnizca_leaf_width"
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?
Relates #602
Now it is possible to set custom width for the blobovnizca's leaves. It allows to have more databases with same depth and do not increase the number of active blobovnizcas.
In turn, this will allow to create smaller blobovnizcas with the same target blobovnizca tree size to reduce degradation.
@ -124,2 +128,3 @@
for i := uint64(0); i < blz.blzShallowDepth; i++ {
cp *= blz.blzShallowWidth
if i+1 == blz.blzShallowDepth {
activeMapCapacity *= blz.blzLeafWidth
It is possible to multiply out of the loop, in this case
if
will be redundant. In this case, condition for iteration will bei < blz.blzShallowDepth-1
Since this is an unsigned data type (uint64), I prefer not to deal with subtraction:)
Allow to customiza blobovnizca's leaf widthto Allow to customize blobovnicza's leaf width11b2dee2f9
to354a92ea2c