frostfs-node/pkg/services/tree
Pavel Karpy 479c5a65e1
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/push/pre-commit Pipeline was successful
[#322] 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 19:48:51 +03:00
..
cache.go [#322] node: Fix tree svc panic 2023-05-04 19:48:51 +03:00
container.go Rename package name 2023-03-07 16:38:26 +03:00
drop.go [#242] treesvc: Add tracing spans 2023-04-14 10:25:53 +00:00
getsubtree_test.go [#242] treesvc: Add tracing spans 2023-04-14 10:25:53 +00:00
options.go Rename package name 2023-03-07 16:38:26 +03:00
redirect.go [#242] treesvc: Add tracing spans 2023-04-14 10:25:53 +00:00
replicator.go [#242] treesvc: Add tracing spans 2023-04-14 10:25:53 +00:00
service.go [#285] lint: Fix revive/unused-parameter 2023-04-26 17:35:04 +03:00
service.pb.go [#249] node: Drop subnet from IR and morph 2023-04-17 09:46:02 +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 [#270] Add IR epoch tick control call 2023-04-28 07:57:00 +00:00
signature.go [#229] services/tree: Use bearer owner as signer 2023-04-26 10:23:33 +03:00
signature_test.go [#229] services/tree: Use bearer owner as signer 2023-04-26 10:23:33 +03:00
sync.go [#302] tree: Drop unused ctx 2023-05-02 16:54:06 +03:00
sync_test.go [#302] tree: Drop unused ctx 2023-05-02 16:54:06 +03:00
types.pb.go [#249] node: Drop subnet from IR and morph 2023-04-17 09:46:02 +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