v.20.7New Feature

Added system.crash_log table for collecting fatal error stack traces

Added system.crash_log table into which stack traces for fatal errors are collected. This table should be empty. #12316 (alexey-milovidov).
Added a new system.crash_log table that collects stack traces for fatal errors occurring in ClickHouse.

Why it matters

This feature provides a centralized location for logging stack traces of fatal errors, helping users and developers to diagnose and troubleshoot crashes more effectively by examining the error context directly within ClickHouse.

How to use it

Users can query the system.crash_log table like any other system table to view stack traces of recent fatal errors. The table is designed to be empty under normal operation and populates only when fatal errors occur.