frostfs-node/pkg/services/tree
Pavel Karpy c60029d3b0 [#323] node: Fix tree svc panic
If a connection has not been established earlier, it stores `nil` in LRU
cache. Cache eviction tries to close every connection (even a `nil` one) and
panics but not crash the app because we are using pools.
That ugly bug also leads to a deadlock where `Unlock` is not called via
`defer` func (and that is the way I found it).

Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2023-05-04 20:04:30 +03:00
..
cache.go [#323] node: Fix tree svc panic 2023-05-04 20:04:30 +03:00
container.go Rename package name 2023-03-07 16:38:26 +03:00
drop.go Rename package name 2023-03-07 16:38:26 +03:00
getsubtree_test.go [#180] node: Refactor panics in unit test 2023-03-29 12:39:07 +03:00
options.go Rename package name 2023-03-07 16:38:26 +03:00
redirect.go Rename package name 2023-03-07 16:38:26 +03:00
replicator.go [#156] services/tree: Pass context to replicationWorker() 2023-03-22 07:14:18 +00:00
service.go [#266] services/tree: Do not accept requests until initial sync is finished 2023-04-18 13:30:45 +03:00
service.pb.go Rename package name 2023-03-07 16:38:26 +03:00
service.proto Rename package name 2023-03-07 16:38:26 +03:00
service_frostfs.pb.go Rename package name 2023-03-07 16:38:26 +03:00
service_grpc.pb.go [#11] Regenerate proto files 2023-01-12 08:55:47 +03:00
signature.go Rename package name 2023-03-07 16:38:26 +03:00
signature_test.go Rename package name 2023-03-07 16:38:26 +03:00
sync.go [#266] services/tree: Do not accept requests until initial sync is finished 2023-04-18 13:30:45 +03:00
types.pb.go Rename package name 2023-03-07 16:38:26 +03:00
types.proto Rename package name 2023-03-07 16:38:26 +03:00
types_frostfs.pb.go Rename package name 2023-03-07 16:38:26 +03:00