frostfs-sdk-go/pool/tree
Alex Vanin 37350dbb1e [#326] pool: Fix panic that causes mutex deadlock
Two concurrent 'deleteClientFromMap' calls for
the same client may produce panic and deadlock.

First goroutine acquires lock, removes element
from the map, releases lock.

Second goroutine acquires lock, and throws panic
while trying to call 'close()' on empty struct.
Lock is never released and it causes deadlock for
other goroutines.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2025-01-29 20:14:55 +03:00
..
service [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
client.go [#185] Implement rpc/client for tree service 2024-11-29 15:23:14 +03:00
pool.go [#326] pool: Fix panic that causes mutex deadlock 2025-01-29 20:14:55 +03:00
pool_signature.go [#185] Implement rpc/client for tree service 2024-11-29 15:23:14 +03:00
pool_test.go [#305] tree/pool: Add flag to use net map to prioritize tree services 2024-12-18 09:23:44 +03:00
statistic.go [#244] pool/tree: Collect request duration statistic 2024-08-02 13:01:14 +03:00