#34528

**Describe the bug**
[A link to the report](https://s3.amazonaws.com/clickhouse-test-reports/34528/6a8e35930ffc25f0574179c5ad93635cfe073121/stress_test__thread__actions_.html)


{
    if (!partitions.empty())
        throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Table engine {} doesn't support partitions", getName());
    auto lock_timeout = getLockTimeout(context);
    loadMarks(lock_timeout);
    ReadLock lock{rwlock, lock_timeout};
    if (!lock)
        throw Exception("Lock timeout exceeded", ErrorCodes::TIMEOUT_EXCEEDED);
    if (!num_data_files || !file_checker.getFileSize(data_files[INDEX_WITH_REAL_ROW_COUNT].path))
        return {};
    auto temp_dir_owner = std::make_shared<TemporaryFileOnDisk>(disk, "tmp/backup_");
    auto temp_dir = temp_dir_owner->getPath();
    disk->createDirectories(temp_dir);
    BackupEntries backup_entries;
    
    for (const auto & data_file : data_files)
    {
        
        String data_file_name = fileName(data_file.path);
        String temp_file_path = temp_dir + "/" + data_file_name;
        disk->copy(data_file.path, disk, temp_file_path);
        backup_entries.emplace_back(
            data_file_name,