mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Do not silently catch errors for writing to S3
This commit is contained in:
parent
c489355357
commit
6ebe4e7dbb
@ -112,18 +112,6 @@ void WriteBufferFromS3::finalizeImpl()
|
|||||||
finalized = true;
|
finalized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
WriteBufferFromS3::~WriteBufferFromS3()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
finalizeImpl();
|
|
||||||
}
|
|
||||||
catch (...)
|
|
||||||
{
|
|
||||||
tryLogCurrentException(log);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void WriteBufferFromS3::createMultipartUpload()
|
void WriteBufferFromS3::createMultipartUpload()
|
||||||
{
|
{
|
||||||
Aws::S3::Model::CreateMultipartUploadRequest req;
|
Aws::S3::Model::CreateMultipartUploadRequest req;
|
||||||
|
@ -64,8 +64,6 @@ public:
|
|||||||
/// Receives response from the server after sending all data.
|
/// Receives response from the server after sending all data.
|
||||||
void finalize() override;
|
void finalize() override;
|
||||||
|
|
||||||
~WriteBufferFromS3() override;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool finalized = false;
|
bool finalized = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user