Skip to content

Commit 9f9fcb2

Browse files
committed
add back the sync behavior
1 parent cdfa5ab commit 9f9fcb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Storages/StorageMergeTree.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,9 @@ void StorageMergeTree::exportPartitionToTable(const PartitionCommand & command,
630630
}
631631
else
632632
{
633-
/// async always
634-
background_moves_assignee.scheduleMoveTask(
635-
std::make_shared<ExecutableLambdaAdapter>(export_partition_function, moves_assignee_trigger, getStorageID()));
633+
exportPartsImpl(exports_tagger, transaction_id, dest_storage);
634+
635+
commitExportPartitionTask(manifest, dest_storage, getContext());
636636
}
637637
}
638638

0 commit comments

Comments
 (0)