v.19.14Improvement

Fix Tsan Warning.html) 'lock-order-inversion'

Fix TSan warning 'lock-order-inversion'. #6740 (Vasily Nemkov)
Fix for ThreadSanitizer (TSan) warning related to lock-order inversion in ClickHouse.

Why it matters

This fix addresses a concurrency issue detected by ThreadSanitizer that involves lock-order inversion, which can potentially lead to deadlocks or undefined thread behavior during runtime. Resolving this warning improves the reliability and stability of multithreaded operations within ClickHouse.

How to use it

The fix is applied internally in the ClickHouse codebase. Users benefit automatically by upgrading to the version that includes this patch. No manual intervention or configuration changes are necessary.