mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Less noisy logging. [#CLICKHOSUE-2]
This commit is contained in:
parent
c0716da718
commit
a65e8d9ffc
@ -221,8 +221,11 @@ void ReplicatedMergeTreeCleanupThread::getBlocksSortedByTime(zkutil::ZooKeeperPt
|
||||
}
|
||||
|
||||
auto not_cached_blocks = stat.numChildren - cached_block_stats->size();
|
||||
LOG_TRACE(log, "Checking " << stat.numChildren << " blocks (" << not_cached_blocks << " are not cached)"
|
||||
<< " to clear old ones from ZooKeeper. This might take several minutes.");
|
||||
if (not_cached_blocks)
|
||||
{
|
||||
LOG_TRACE(log, "Checking " << stat.numChildren << " blocks (" << not_cached_blocks << " are not cached)"
|
||||
<< " to clear old ones from ZooKeeper. This might take several minutes.");
|
||||
}
|
||||
|
||||
std::vector<std::pair<String, zkutil::ZooKeeper::ExistsFuture>> exists_futures;
|
||||
for (const String & block : blocks)
|
||||
|
Loading…
Reference in New Issue
Block a user