Initialize write-cache asynchronously #32
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Init
iterates over all objects89a0266f5e/pkg/local_object_storage/writecache/writecache.go (L147)
.We should launch it in a goroutine:
ErrInitializing
(or sth similar) on modifying operations until this goroutine finishes.Close()
is called.SetMode
.Testing
start/restart a service with a completely filled write caches -- shouldn't take more than 1-2 minutes (ideally <10 sec is expected)
Closed in #35.