mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Merge pull request #56266 from ClickHouse/fix-segfault-keeper
Fix segfault in signal handler for Keeper
This commit is contained in:
commit
f707702dec
@ -3430,7 +3430,8 @@ void Context::initializeTraceCollector()
|
||||
/// Call after unexpected crash happen.
|
||||
void Context::handleCrash() const TSA_NO_THREAD_SAFETY_ANALYSIS
|
||||
{
|
||||
shared->system_logs->handleCrash();
|
||||
if (shared->system_logs)
|
||||
shared->system_logs->handleCrash();
|
||||
}
|
||||
|
||||
bool Context::hasTraceCollector() const
|
||||
|
Loading…
Reference in New Issue
Block a user