node: Fix initialization of frostfsid cache #1594
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#1594
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/frostfs-node:bugfix/frostfsid_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?
Close #1593
Signed-off-by: Alexander Chuprov a.chuprov@yadro.com
@ -44,3 +44,3 @@
cacheSize := morphconfig.FrostfsIDCacheSize(c.appCfg)
if cacheSize > 0 {
if cacheSize > 0 && c.cfgMorph.cacheTTL >= 0 {
What does
== 0
mean?You are right, 0 is not allowed. When TTL=0, the default value is set
cmd/frostfs-node/config/morph.CacheTTL()
has a commentSupports negative durations.
.I do not see a value in this -- probably another place that needs fix.
4237297543
to3f419166fb
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
3f419166fb
to3929c9acd5
3929c9acd5
to7cf42a61d5
7cf42a61d5
toa2485637bb