mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
[Disks] Version ID added.
Version ID added to constructor.
This commit is contained in:
parent
f299bf46e2
commit
e3a96393a1
@ -151,6 +151,7 @@ void logIfError(const Aws::Utils::Outcome<Result, Error> & response, Fn<String()
|
||||
DiskS3::DiskS3(
|
||||
String name_,
|
||||
String bucket_,
|
||||
String version_id_,
|
||||
String s3_root_path_,
|
||||
DiskPtr metadata_disk_,
|
||||
FileCachePtr cache_,
|
||||
@ -159,6 +160,7 @@ DiskS3::DiskS3(
|
||||
GetDiskSettings settings_getter_)
|
||||
: IDiskRemote(name_, s3_root_path_, metadata_disk_, std::move(cache_), "DiskS3", settings_->thread_pool_size)
|
||||
, bucket(std::move(bucket_))
|
||||
, version_id(std::move(version_id_))
|
||||
, current_settings(std::move(settings_))
|
||||
, settings_getter(settings_getter_)
|
||||
, context(context_)
|
||||
|
@ -72,6 +72,7 @@ public:
|
||||
DiskS3(
|
||||
String name_,
|
||||
String bucket_,
|
||||
String version_id_,
|
||||
String s3_root_path_,
|
||||
DiskPtr metadata_disk_,
|
||||
FileCachePtr cache_,
|
||||
@ -163,6 +164,8 @@ private:
|
||||
|
||||
const String bucket;
|
||||
|
||||
const String version_id;
|
||||
|
||||
MultiVersion<DiskS3Settings> current_settings;
|
||||
/// Gets disk settings from context.
|
||||
GetDiskSettings settings_getter;
|
||||
|
Loading…
Reference in New Issue
Block a user