mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Update StorageS3Settings.cpp
This commit is contained in:
parent
1174f4dcbe
commit
8e0b1eae69
@ -78,8 +78,8 @@ void S3Settings::RequestSettings::PartUploadSettings::updateFromSettingsImpl(con
|
||||
if (!if_changed || settings.s3_max_single_part_upload_size.changed)
|
||||
max_single_part_upload_size = settings.s3_max_single_part_upload_size;
|
||||
|
||||
/// AWS S3 SDK library has a bug. It is using std::stringstream (which is a major offense).
|
||||
/// LLVM libc++ has a bug. It does not allow std::stringstream to work for large strings.
|
||||
/// AWS S3 SDK library has a bug. It is using std::*stream (which is a major offense).
|
||||
/// LLVM libc++ has a bug. It does not allow std::*stream to work for large strings.
|
||||
|
||||
if (max_single_part_upload_size >= 2_GiB)
|
||||
throw Exception(ErrorCodes::INVALID_SETTING_VALUE, "Uploading parts of 2 GiB or larger is not supported due to a bug in AWS and LLVM. Lower the value of `s3_max_single_part_upload_size` setting.");
|
||||
|
Loading…
Reference in New Issue
Block a user