v.23.11Improvement

Load Base Backups Lazily with Logging and Profiling Updates

Load base backups lazily (a base backup won't be loaded until it's needed). Also add some log message and profile events for backups. #56516 (Vitaly Baranov).
Introduces lazy loading of base backups in ClickHouse, delaying loading of a base backup until it is actually required. Additional log messages and profiling events related to backups have been added.

Why it matters

This feature improves efficiency by avoiding unnecessary loading of base backups, reducing resource usage and potentially speeding up operations that involve backups. It also enhances observability by adding detailed logging and profiling information for backup processes.

How to use it

This feature is applied automatically as part of the update. No explicit user action is needed to enable lazy loading of base backups. Users can monitor the new log messages and profile events to understand and analyze backup operations.