mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
[update] add comments in freezeRemote to exolain empty files_to_copy_intead_of_hardlinks param in Backup()
This commit is contained in:
parent
f87ab5aab7
commit
eeeb6dbd12
@ -512,6 +512,8 @@ MutableDataPartStoragePtr DataPartStorageOnDiskBase::freezeRemote(
|
|||||||
else
|
else
|
||||||
dst_disk->createDirectories(to);
|
dst_disk->createDirectories(to);
|
||||||
|
|
||||||
|
/// freezeRemote() using copy instead of hardlinks for all files
|
||||||
|
/// In this case, files_to_copy_intead_of_hardlinks is set by empty
|
||||||
Backup(
|
Backup(
|
||||||
src_disk,
|
src_disk,
|
||||||
dst_disk,
|
dst_disk,
|
||||||
@ -522,7 +524,7 @@ MutableDataPartStoragePtr DataPartStorageOnDiskBase::freezeRemote(
|
|||||||
params.make_source_readonly,
|
params.make_source_readonly,
|
||||||
/* max_level= */ {},
|
/* max_level= */ {},
|
||||||
true,
|
true,
|
||||||
{},
|
/* files_to_copy_intead_of_hardlinks= */ {},
|
||||||
params.external_transaction);
|
params.external_transaction);
|
||||||
|
|
||||||
/// The save_metadata_callback function acts on the target dist.
|
/// The save_metadata_callback function acts on the target dist.
|
||||||
|
Loading…
Reference in New Issue
Block a user