Skip to content

Commit b8e7e66

Browse files
authored
Merge branch 'antalya-25.8' into fp_antalya_25_8_export_mt_part
2 parents 0a31eab + 4e2a503 commit b8e7e66

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Storages/ObjectStorage/StorageObjectStorageCluster.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,4 +897,11 @@ void StorageObjectStorageCluster::onActionLockRemove(StorageActionBlockType acti
897897
IStorageCluster::onActionLockRemove(action_type);
898898
}
899899

900+
bool StorageObjectStorageCluster::prefersLargeBlocks() const
901+
{
902+
if (pure_storage)
903+
return pure_storage->prefersLargeBlocks();
904+
return IStorageCluster::prefersLargeBlocks();
905+
}
906+
900907
}

src/Storages/ObjectStorage/StorageObjectStorageCluster.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class StorageObjectStorageCluster : public IStorageCluster
130130
std::string & /* destination_file_path */,
131131
bool /* overwrite_if_exists */,
132132
ContextPtr /* context */) override;
133+
bool prefersLargeBlocks() const override;
133134

134135
private:
135136
void updateQueryToSendIfNeeded(

0 commit comments

Comments
 (0)