Fix container nodes cache #1248
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1248
Loading…
Reference in a new issue
No description provided.
Delete branch "fyrchik/frostfs-node:container-nodes-cache"
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?
It hasn't cached netmap, so was useless.
887f117ba0
to5895c4a7b5
5895c4a7b5
toa061dd5c37
@ -0,0 +13,4 @@
type ContainerNodesCache struct {
// mtx protects lastEpoch and containerCache fields.
mtx sync.Mutex
// lastEpoch contains contains network map epoch for all values in the container cache.
doubled
contains
fixed
The separation will allow us to use this in e.g. evacuation routines.
a061dd5c37
to2d23b3718e