v.22.12Bug Fix

Recovery of Lost Replica: Atomic Table Name Swap Implementation in Replicated Database

During the recovery of a lost replica of a Replicated database (experimental feature), there could a situation where we need to atomically swap two table names (use EXCHANGE). Previously we tried to use two RENAME queries, which was obviously failing and moreover, failed the whole recovery process of the database replica. #43628 (Nikita Mikhaylov).