mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 01:30:51 +00:00
███████████: fixed error [#CONV-4364].
This commit is contained in:
parent
77c46cdcfd
commit
b07f8ccd0e
@ -218,10 +218,11 @@ private:
|
||||
session.reset();
|
||||
continue;
|
||||
}
|
||||
catch (const DB::Exception & e)
|
||||
catch (const Exception & e)
|
||||
{
|
||||
/// Если в прошлую попытку от сервера не пришло ответа, но файл всё же был переименован.
|
||||
if (i != 0 && NULL != strstr(e.what(), "File not found"))
|
||||
if (i != 0 && e.code() == ErrorCodes::RECEIVED_ERROR_FROM_REMOTE_IO_SERVER
|
||||
&& NULL != strstr(e.message().data(), "File not found"))
|
||||
{
|
||||
LOG_TRACE((&Logger::get("RemoteWriteBuffer")), "File already renamed");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user