Skip to content

Commit 20a04a0

Browse files
authored
Merge branch 'antalya-25.8' into zvonand-fix-glue-again
2 parents fe0e081 + 4e2a503 commit 20a04a0

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/Storages/ObjectStorage/StorageObjectStorageCluster.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,4 +872,11 @@ void StorageObjectStorageCluster::onActionLockRemove(StorageActionBlockType acti
872872
IStorageCluster::onActionLockRemove(action_type);
873873
}
874874

875+
bool StorageObjectStorageCluster::prefersLargeBlocks() const
876+
{
877+
if (pure_storage)
878+
return pure_storage->prefersLargeBlocks();
879+
return IStorageCluster::prefersLargeBlocks();
880+
}
881+
875882
}

src/Storages/ObjectStorage/StorageObjectStorageCluster.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ class StorageObjectStorageCluster : public IStorageCluster
122122

123123
void onActionLockRemove(StorageActionBlockType action_type) override;
124124

125+
bool prefersLargeBlocks() const override;
126+
125127
private:
126128
void updateQueryToSendIfNeeded(
127129
ASTPtr & query,

0 commit comments

Comments
 (0)