mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Add storage_policy to RestoreSettings in order to allow it in the SETTINGS clause of RESTORE queries
This commit is contained in:
parent
d4737ca033
commit
06b782d37a
@ -164,6 +164,7 @@ namespace
|
|||||||
M(Bool, allow_s3_native_copy) \
|
M(Bool, allow_s3_native_copy) \
|
||||||
M(Bool, internal) \
|
M(Bool, internal) \
|
||||||
M(String, host_id) \
|
M(String, host_id) \
|
||||||
|
M(String, storage_policy) \
|
||||||
M(OptionalUUID, restore_uuid)
|
M(OptionalUUID, restore_uuid)
|
||||||
|
|
||||||
|
|
||||||
|
@ -117,6 +117,9 @@ struct RestoreSettings
|
|||||||
/// The current host's ID in the format 'escaped_host_name:port'.
|
/// The current host's ID in the format 'escaped_host_name:port'.
|
||||||
String host_id;
|
String host_id;
|
||||||
|
|
||||||
|
/// Alterative storage policy that may be specified in the SETTINGS clause of RESTORE queries
|
||||||
|
String storage_policy;
|
||||||
|
|
||||||
/// Internal, should not be specified by user.
|
/// Internal, should not be specified by user.
|
||||||
/// Cluster's hosts' IDs in the format 'escaped_host_name:port' for all shards and replicas in a cluster specified in BACKUP ON CLUSTER.
|
/// Cluster's hosts' IDs in the format 'escaped_host_name:port' for all shards and replicas in a cluster specified in BACKUP ON CLUSTER.
|
||||||
std::vector<Strings> cluster_host_ids;
|
std::vector<Strings> cluster_host_ids;
|
||||||
|
Loading…
Reference in New Issue
Block a user