v.24.12Performance Improvement
Dropping Mark Cache Can Cause Delays Due to Mutex Contention
Dropping mark cache might take noticeable time if it is big. If we hold context mutex during this it block many other activities, even new client connection cannot be established until it is released. And holding this mutex is not actually required for synchronization, it is enough to have a local reference to the cache via shared ptr. #72749 (Alexander Gololobov).