v.25.7Improvement
When the storage is shutting down, getStatus
When the storage is shutting down,getStatusthrows anErrorCodes::ABORTEDexception. Previously, this would fail the select query. Now we catch theErrorCodes::ABORTEDexceptions and intentionally ignore them instead. #83435 (Miсhael Stetsyuk).
Why it matters
Previously, when the storage was shutting down, thegetStatus method would throw an ErrorCodes::ABORTED exception, causing select queries to fail. This update catches and ignores these specific exceptions to avoid query failures, enhancing the stability and reliability of select queries during storage shutdown.How to use it
No user action is required. The change is applied internally in ClickHouse and automatically catches and ignoresErrorCodes::ABORTED exceptions thrown by getStatus during storage shutdown.