This commit is contained in:
kssenii 2024-09-17 15:38:06 +02:00
parent 8a14e99643
commit e61a77ef97
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ DataPartStorageOnDiskBase::getReplicatedFilesDescription(const NameSet & file_na
ReplicatedFilesDescription description;
auto relative_path = fs::path(root_path) / part_dir;
auto disk = volume->getDisk();
auto read_settings = Context::getGlobalContextInstance()->getReadSettings();
auto read_settings = getReadSettings();
auto actual_file_names = getActualFileNamesOnDisk(file_names);
for (const auto & name : actual_file_names)

View File

@ -205,7 +205,7 @@ void DataPartStorageOnDiskFull::copyFileFrom(const IDataPartStorage & source, co
fs::path(source_on_disk->getRelativePath()) / from,
*volume->getDisk(),
fs::path(root_path) / part_dir / to,
Context::getGlobalContextInstance()->getReadSettings());
getReadSettings());
}
void DataPartStorageOnDiskFull::createProjection(const std::string & name)