mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fix fasttest build
This commit is contained in:
parent
21ab379026
commit
6eead4ea1e
@ -1,5 +1,7 @@
|
|||||||
#include <Storages/MergeTree/DataPartsExchange.h>
|
#include <Storages/MergeTree/DataPartsExchange.h>
|
||||||
|
|
||||||
|
#include <Common/config.h>
|
||||||
|
|
||||||
#include <Formats/NativeWriter.h>
|
#include <Formats/NativeWriter.h>
|
||||||
#include <Disks/SingleDiskVolume.h>
|
#include <Disks/SingleDiskVolume.h>
|
||||||
#include <Disks/createVolume.h>
|
#include <Disks/createVolume.h>
|
||||||
@ -579,6 +581,8 @@ MergeTreeData::MutableDataPartPtr Fetcher::fetchSelectedPart(
|
|||||||
if (e.code() != ErrorCodes::S3_ERROR && e.code() != ErrorCodes::ZERO_COPY_REPLICATION_ERROR)
|
if (e.code() != ErrorCodes::S3_ERROR && e.code() != ErrorCodes::ZERO_COPY_REPLICATION_ERROR)
|
||||||
throw;
|
throw;
|
||||||
|
|
||||||
|
|
||||||
|
#if USE_AWS_S3
|
||||||
if (const auto * s3_exception = dynamic_cast<const S3Exception *>(&e))
|
if (const auto * s3_exception = dynamic_cast<const S3Exception *>(&e))
|
||||||
{
|
{
|
||||||
/// It doesn't make sense to retry Access Denied or No Such Key
|
/// It doesn't make sense to retry Access Denied or No Such Key
|
||||||
@ -588,6 +592,7 @@ MergeTreeData::MutableDataPartPtr Fetcher::fetchSelectedPart(
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
LOG_WARNING(log, fmt::runtime(e.message() + " Will retry fetching part without zero-copy."));
|
LOG_WARNING(log, fmt::runtime(e.message() + " Will retry fetching part without zero-copy."));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user