frostfs-sdk-go/pool/tree
Alex Vanin 2d08fa5240 [#339] pool/tree: Close replaced connection in client map
There is a race condition: multiple clients are created and dialled,
but only one is stored in the map. Others are remaining active but not
used.

With this change, new connection replaces old connection and closes
it.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2025-03-04 14:41:01 +03:00
..
service [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
circuitbreaker.go [#339] pool/tree: Fix linter issues 2025-03-04 12:22:38 +03:00
circuitbreaker_test.go [#339] pool/tree: Fix linter issues 2025-03-04 12:22:38 +03:00
client.go [#185] Implement rpc/client for tree service 2024-11-29 15:23:14 +03:00
pool.go [#339] pool/tree: Close replaced connection in client map 2025-03-04 14:41:01 +03:00
pool_server_test.go [#336] pool/tree: Increase test coverage in TestStreamRetry 2025-02-28 12:32:56 +03:00
pool_signature.go [#185] Implement rpc/client for tree service 2024-11-29 15:23:14 +03:00
pool_test.go [#326] pool: Add test for concurrent client deletion 2025-01-29 20:16:59 +03:00
statistic.go [#244] pool/tree: Collect request duration statistic 2024-08-02 13:01:14 +03:00