Encapsulate the non-critical code to prevent core disaster #30398
Labels
sig/execution
SIG execution
sig/planner
SIG: Planner
sig/sql-infra
SIG: SQL Infra
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
In #29925, we encountered an OOM issue caused by "printing a log". This is unexpected and the problems like this significantly decrease the stability and availability of TiDB.
Besides enhancing our tests, we had better mark the components/packages that are less critical, and encapsulate them with a proper recovery mechanism.
Less critical components:
Possible recovery mechanisms:
recover()
Some refactoring work may be involved to decouple these components from the core.
The text was updated successfully, but these errors were encountered: