add check_replicas_before_attach
configuration to avoid concurrent ATTACH PART execution during restore
command
#474
Milestone
to avoid multiple ATTACH PART from concurrent replicas in the same shard to replicated tables
Let’s make an option to ClickHouse backup that would add an extra step.
Before restoring a table run the following query:
If result is empty or result is zero, then we can restore. Otherwise, table is not empty or is being restored from another replica.
The text was updated successfully, but these errors were encountered: