v.25.7Improvement

When the storage is shutting down, getStatus

When the storage is shutting down, getStatus throws an ErrorCodes::ABORTED exception. Previously, this would fail the select query. Now we catch the ErrorCodes::ABORTED exceptions and intentionally ignore them instead. #83435 (Miсhael Stetsyuk).
Improved handling of ErrorCodes::ABORTED exceptions during storage shutdown to prevent select query failures.

Why it matters

Previously, when the storage was shutting down, the getStatus 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 ignores ErrorCodes::ABORTED exceptions thrown by getStatus during storage shutdown.