v.23.11Improvement

Stop Excessive Use of INCONSISTENT_METADATA_FOR_BACKUP

Stop using INCONSISTENT_METADATA_FOR_BACKUP that much. If possible prefer to continue scanning instead of stopping and starting the scanning for backup from the beginning. #57385 (Vitaly Baranov).
Reduce use of INCONSISTENT_METADATA_FOR_BACKUP error by preferring to continue scanning during backups rather than restarting from the beginning.

Why it matters

This feature improves backup efficiency and stability by avoiding unnecessary restarts of the scanning process when inconsistent metadata is detected. It allows backups to proceed by continuing the scan, minimizing downtime and resource consumption.

How to use it

This behavior is now implemented internally in the backup process for ClickHouse and does not require user intervention. Backups will automatically attempt to continue scanning upon encountering inconsistent metadata instead of restarting.