Merge pull request #56266 from ClickHouse/fix-segfault-keeper

Fix segfault in signal handler for Keeper
This commit is contained in:
Antonio Andelic 2023-11-03 09:12:39 +01:00 committed by GitHub
commit f707702dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3430,6 +3430,7 @@ void Context::initializeTraceCollector()
/// Call after unexpected crash happen.
void Context::handleCrash() const TSA_NO_THREAD_SAFETY_ANALYSIS
{
if (shared->system_logs)
shared->system_logs->handleCrash();
}