forked from TrueCloudLab/frostfs-node
479c5a65e1
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> |
||
---|---|---|
.. | ||
cache.go | ||
container.go | ||
drop.go | ||
getsubtree_test.go | ||
options.go | ||
redirect.go | ||
replicator.go | ||
service.go | ||
service.pb.go | ||
service.proto | ||
service_frostfs.pb.go | ||
service_grpc.pb.go | ||
signature.go | ||
signature_test.go | ||
sync.go | ||
sync_test.go | ||
types.pb.go | ||
types.proto | ||
types_frostfs.pb.go |