Fix/tree svc panic #322
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#322
Loading…
Reference in a new issue
No description provided.
Delete branch "carpawell/frostfs-node:fix/panic-in-tree-svc"
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?
If a connection has not been established earlier, it stores
nil
in LRUcache. Cache eviction tries to close every connection (even a
nil
one) andpanics but not crash the app because we are using pools.
That ugly bug also leads to a deadlock where
Unlock
is not called viadefer
func (and that is the way I found it).Signed-off-by: Pavel Karpy p.karpy@yadro.com
Could be the reason for #260 but should be rechecked.
1774705f93
to479c5a65e1
[#xxx] node: Fix tree svc panicto Fix/tree svc panicWe need the same for 1.2 (support/v0.36)
@fyrchik, no problemo: #323.
Could you explain, how exactly it could be the reason for #260?
@fyrchik, that is a theory. Every tree svc operation was blocked when i looked at them cause of that bug. Tree sync is related to handling morph events (and event should be handled correctly without any blocks to be handled again next time). At least it stopped some operations and locked them forever. That was the first i saw in the pprof and absolutely no locks in any
morph
code.