diff options
| author | apachee <[email protected]> | 2026-01-14 18:03:15 +0300 |
|---|---|---|
| committer | apachee <[email protected]> | 2026-01-14 19:35:39 +0300 |
| commit | fdafce348bc42d63c9996ce18fb1625d8856e644 (patch) | |
| tree | d4c0372a9683cd7436e998c3a025939773772d8e /contrib/python | |
| parent | 1b4b9f756cfb3b4476eec66234fbfc44dfa21006 (diff) | |
[core/concurrency] YT-26786: Fix deadlock in TFairShareQueue in case trace logs are enabled
Remove code that crashes the program if trace logs are enabled.
Crash was caused by a combination of problematic ~TBucket implementation and how bucket map was accessed, which potentially lead to a deadlock.
With trace logs enabled, map was iterated through and each bucket weak ptr was locked for a period of time. During the whole period map spinlock was held.
If pointer strong ref count reached 1 during this iteration, destruction would lead to call to ~TBucket, which in turn lead to recursive spinlock acquisition, i.e. deadlock.
commit_hash:1b9eab80873af2bef4c179e1ebda96e5925844ad
Diffstat (limited to 'contrib/python')
0 files changed, 0 insertions, 0 deletions
