MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / buildFileInfosForBackupEntries

Method buildFileInfosForBackupEntries

src/Backups/BackupsWorker.cpp:742–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

740
741
742void BackupsWorker::buildFileInfosForBackupEntries(const BackupPtr & backup, const BackupEntries & backup_entries, const ReadSettings & read_settings, std::shared_ptr<IBackupCoordination> backup_coordination, QueryStatusPtr process_list_element)
743{
744 backup_coordination->setStage(Stage::BUILDING_FILE_INFOS, "", /* sync = */ true);
745 backup_coordination->addFileInfos(::DB::buildFileInfosForBackupEntries(backup_entries, backup->getBaseBackup(), read_settings, getThreadPool(ThreadPoolId::BACKUP), process_list_element));
746}
747
748
749void BackupsWorker::writeBackupEntries(

Callers

nothing calls this directly

Calls 4

getBaseBackupMethod · 0.80
setStageMethod · 0.45
addFileInfosMethod · 0.45

Tested by

no test coverage detected