Unlimited blobovnicza #1226

Merged
fyrchik merged 1 commit from dstepanov-yadro/frostfs-node:feat/unlimited_blobovnicza into master 2024-09-04 19:51:09 +00:00
  • Drop leaf_width limitation
  • Drop create dbs in advance as now there is no leaf width limit
  • Drop db extension fix at init stage
- Drop `leaf_width` limitation - Drop create dbs in advance as now there is no leaf width limit - Drop db extension fix at init stage
dstepanov-yadro force-pushed feat/unlimited_blobovnicza from 3c4cf2e5c0 to 8ec29ba1fc 2024-07-04 07:20:33 +00:00 Compare
fyrchik requested changes 2024-07-04 07:37:51 +00:00
@ -127,0 +133,4 @@
if len(entries) == 0 {
return false, 0, nil
}
idxs := make([]uint64, 0, len(entries))
Owner

You create a slice and sort it only to return the maximum.
Why not just search for maximum in a loop?

You create a slice and sort it only to return the maximum. Why not just search for maximum in a loop?
Author
Member

Oops, fixed

Oops, fixed
fyrchik marked this conversation as resolved
@ -131,3 +131,3 @@
levelWidth := b.blzShallowWidth
if isLeafLevel {
levelWidth = b.blzLeafWidth
hasDBs, maxIdx, e := getBlobovniczaMaxIndex(filepath.Join(append([]string{b.rootPath}, curPath...)...))
Owner

What's wrong with err? It seems we do not shadow anything.

What's wrong with `err`? It seems we do not shadow anything.
Author
Member

fixed

fixed
fyrchik marked this conversation as resolved
dstepanov-yadro force-pushed feat/unlimited_blobovnicza from 8ec29ba1fc to aaad5c1d60 2024-07-04 07:38:10 +00:00 Compare
dstepanov-yadro force-pushed feat/unlimited_blobovnicza from aaad5c1d60 to 7188993c3a 2024-07-04 07:46:29 +00:00 Compare
dstepanov-yadro force-pushed feat/unlimited_blobovnicza from 7188993c3a to 6e3e75d0a2 2024-07-04 07:47:15 +00:00 Compare
acid-ant approved these changes 2024-07-04 08:24:06 +00:00
dstepanov-yadro force-pushed feat/unlimited_blobovnicza from 6e3e75d0a2 to 62cbb72a5e 2024-07-04 09:22:51 +00:00 Compare
fyrchik approved these changes 2024-07-04 10:54:20 +00:00
fyrchik merged commit 62cbb72a5e into master 2024-07-04 10:55:04 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1226
No description provided.