Bugfix: attach partition should reset the mutation

This commit is contained in:
fastio 2021-01-11 21:26:43 +08:00
parent 00d240853d
commit 8dde70b937

View File

@ -254,6 +254,7 @@ void ReplicatedMergeTreeBlockOutputStream::commitPart(
part->info.min_block = block_number;
part->info.max_block = block_number;
part->info.level = 0;
part->info.mutation = 0;
part->name = part->getNewName(part->info);