[Disks] readSchemaVersion supplies empty Version ID

Empty version ID supplied to retrieve version ID of object.
This commit is contained in:
Saad Ur Rahman 2022-03-14 20:11:20 -04:00
parent c7402c2a39
commit f299bf46e2
No known key found for this signature in database
GPG Key ID: C6773CD21542E49C

View File

@ -402,6 +402,7 @@ int DiskS3::readSchemaVersion(const String & source_bucket, const String & sourc
ReadBufferFromS3 buffer(
settings->client,
source_bucket,
"" /* version_id empty and to be extract */,
source_path + SCHEMA_VERSION_OBJECT,
settings->s3_max_single_read_retries,
context->getReadSettings());