mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Fix build
This commit is contained in:
parent
9b75ef6ce9
commit
d04c48e67a
@ -2967,11 +2967,11 @@ void MergeTreeData::tryRemovePartImmediately(DataPartPtr && part)
|
|||||||
if (!((*it)->getState() == DataPartState::Outdated && it->unique()))
|
if (!((*it)->getState() == DataPartState::Outdated && it->unique()))
|
||||||
{
|
{
|
||||||
if ((*it)->getState() != DataPartState::Outdated)
|
if ((*it)->getState() != DataPartState::Outdated)
|
||||||
LOG_WARNING("Cannot immediately remove part {} because it's not in Outdated state "
|
LOG_WARNING(log, "Cannot immediately remove part {} because it's not in Outdated state "
|
||||||
"usage counter {}", part_name_with_state, it->use_count());
|
"usage counter {}", part_name_with_state, it->use_count());
|
||||||
|
|
||||||
if (!it->unique())
|
if (!it->unique())
|
||||||
LOG_WARNING("Cannot immediately remove part {} because someone using it right now "
|
LOG_WARNING(log, "Cannot immediately remove part {} because someone using it right now "
|
||||||
"usage counter {}", part_name_with_state, it->use_count());
|
"usage counter {}", part_name_with_state, it->use_count());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user