v.24.9Bug Fix

ClickHouse Table Replica Metadata Version Mismatch Causes Alter Query Failures

After this issue there are quite a few table replicas in production such that their metadata_version node value is both equal to 0 and is different from the respective table's metadata node version. This leads to alter queries failing on such replicas. #69274 (Miсhael Stetsyuk).