v.25.10Improvement
Avoid utilizing thread pool asynchonous marks loading
Avoid utilizing thread pool asynchonous marks loading (load_marks_asynchronously=1) when marks are in cache (since the pool can be under pressure and queries will pay penalty for this even if the marks already in cache). #87967 (Azat Khuzhin).Why it matters
This feature addresses the issue where enabling asynchronous loading of marks via a thread pool causes performance penalties even when marks are already stored in cache. By skipping asynchronous loading in these cases, query efficiency improves by reducing thread pool pressure and avoiding redundant work.How to use it
When using the settingload_marks_asynchronously=1, the system now automatically detects if marks are cached and avoids loading them asynchronously via the thread pool. Users do not need to change their configuration; the improvement is applied internally to optimize query execution.