Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/Storages/ObjectStorage/StorageObjectStorageCluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -872,4 +872,11 @@ void StorageObjectStorageCluster::onActionLockRemove(StorageActionBlockType acti
IStorageCluster::onActionLockRemove(action_type);
}

bool StorageObjectStorageCluster::prefersLargeBlocks() const
{
if (pure_storage)
return pure_storage->prefersLargeBlocks();
return IStorageCluster::prefersLargeBlocks();
}

}
2 changes: 2 additions & 0 deletions src/Storages/ObjectStorage/StorageObjectStorageCluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class StorageObjectStorageCluster : public IStorageCluster

void onActionLockRemove(StorageActionBlockType action_type) override;

bool prefersLargeBlocks() const override;

private:
void updateQueryToSendIfNeeded(
ASTPtr & query,
Expand Down
Loading