ClickHouse/src/Disks/createVolume.h

25 lines
522 B
C++
Raw Normal View History

#pragma once
#include <Disks/IVolume.h>
namespace DB
{
2020-05-16 20:31:17 +00:00
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
);
}