frostfs-sdk-go/pool
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
..
tree [#326] pool: Fix panic that causes mutex deadlock 2025-01-29 20:14:55 +03:00
cache.go [#234] pool: Update token expiration check in cache 2024-07-05 12:36:17 +03:00
cache_test.go [#234] pool: Update token expiration check in cache 2024-07-05 12:36:17 +03:00
doc.go [#203] Add pool docs 2024-08-30 08:24:31 +03:00
mock_test.go [#291] container: Add ListStream method 2024-12-10 13:49:38 +03:00
object_put_pool_transformer.go [#237] pool: Return creation epoch from object put 2024-07-22 06:15:23 +00:00
pool.go [#312] pool: Ignore ECInfoErr errors in GetSplitInfo 2024-12-12 10:12:24 +00:00
pool_test.go [#278] pool: Don't make maintenance node healthy in rebalance 2024-10-17 16:31:49 +03:00
sampler.go [#265] go.mod: Use range over int 2024-09-04 12:37:46 +03:00
sampler_test.go [#265] go.mod: Use range over int 2024-09-04 12:37:46 +03:00
statistic.go [#263] go.mod: Update api-go 2024-09-03 12:36:28 +03:00