2020-05-09 21:24:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Disks/IVolume.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2020-05-16 20:31:17 +00:00
|
|
|
VolumePtr createVolumeFromReservation(const ReservationPtr & reservation, VolumePtr other_volume);
|
2020-10-20 15:10:24 +00:00
|
|
|
|
2020-05-24 16:32:58 +00:00
|
|
|
VolumePtr createVolumeFromConfig(
|
|
|
|
String name_,
|
|
|
|
const Poco::Util::AbstractConfiguration & config,
|
|
|
|
const String & config_prefix,
|
|
|
|
DiskSelectorPtr disk_selector
|
|
|
|
);
|
2020-05-09 21:24:15 +00:00
|
|
|
|
2020-10-20 15:10:24 +00:00
|
|
|
VolumePtr updateVolumeFromConfig(
|
|
|
|
VolumePtr volume,
|
|
|
|
const Poco::Util::AbstractConfiguration & config,
|
|
|
|
const String & config_prefix,
|
|
|
|
DiskSelectorPtr & disk_selector
|
|
|
|
);
|
|
|
|
|
2020-05-09 21:24:15 +00:00
|
|
|
}
|