mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update src/Storages/MergeTree/MergeTreeDeduplicationLog.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
This commit is contained in:
parent
f5dfb70f5c
commit
0d44d527ef
@ -241,8 +241,7 @@ std::pair<MergeTreePartInfo, bool> MergeTreeDeduplicationLog::addPart(const std:
|
||||
|
||||
if (stopped)
|
||||
{
|
||||
LOG_ERROR(&Poco::Logger::get("MergeTreeDeduplicationLog"), "Storage has been shutdown when we add this part.");
|
||||
return {};
|
||||
throw Exception(ErrorCodes::ABORTED, "Storage has been shutdown when we drop this part.");
|
||||
}
|
||||
|
||||
chassert(current_writer != nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user