mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
aa5f207fd4
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
25 lines
522 B
C++
25 lines
522 B
C++
#pragma once
|
|
|
|
#include <Disks/IVolume.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
VolumePtr createVolumeFromReservation(const ReservationPtr & reservation, VolumePtr other_volume);
|
|
|
|
VolumePtr createVolumeFromConfig(
|
|
String name_,
|
|
const Poco::Util::AbstractConfiguration & config,
|
|
const String & config_prefix,
|
|
DiskSelectorPtr disk_selector
|
|
);
|
|
|
|
VolumePtr updateVolumeFromConfig(
|
|
VolumePtr volume,
|
|
const Poco::Util::AbstractConfiguration & config,
|
|
const String & config_prefix,
|
|
DiskSelectorPtr & disk_selector
|
|
);
|
|
|
|
}
|