Refactor local object storage #188
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#188
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:refactoring/object-3610_los"
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?
Local object storage refactorings
094f286d01
to5b1b7742ec
36bcdd7e49
to6921dd7734
e647a494a9
to3b083f4a54
3b083f4a54
to73f58ebce7
WIP: Refactor local object storageto Refactor local object storageCan we use more specific prefixes in commits?
los
is new, butmetabase:
,blobstor:
andengine:
are well-established.5ed6da3e3a
to939d217bba
fixed
@ -117,2 +181,3 @@
}
var res EvacuateShardRes
if prm.handler == nil {
You check
prm.handler
fornil
within the for-loop but it seems it's nowhere set or changed. Why isn't this check placed before for-loop at once?see lines above:
It's possible that this if-statement will never checked.
@ -266,0 +225,4 @@
// 2. zeroValue if Inhume was called with a GC mark
func (db *DB) getInhumeTargetBucketAndValue(garbageBKT, graveyardBKT *bbolt.Bucket, prm *InhumePrm) (*bbolt.Bucket, []byte, error) {
var (
targetBucket *bbolt.Bucket
[Optionally] How about to make named return params?
From my point of view, it is better to use named parameters if their number is more than 2
fixed
939d217bba
to93a1885ce4
LGTM
93a1885ce4
to29423db074
29423db074
to1f1aed87be