mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
dbms: not logging some useless info; added comment. [#METR-10202]
This commit is contained in:
parent
1e34ee442a
commit
94cae0b3ad
@ -182,6 +182,7 @@ private:
|
||||
|
||||
void threadFunction()
|
||||
{
|
||||
/// Начнем со случайной задачи (качество rand() не имеет значения).
|
||||
size_t i = static_cast<size_t>(rand());
|
||||
|
||||
while (!shutdown)
|
||||
@ -224,6 +225,7 @@ private:
|
||||
|
||||
if (task->function(context))
|
||||
{
|
||||
/// Если у таска получилось выполнить какую-то работу, запустим его же снова без паузы.
|
||||
--i;
|
||||
need_sleep = false;
|
||||
}
|
||||
|
@ -288,7 +288,6 @@ void MergeTreeData::loadDataParts()
|
||||
|
||||
if ((*curr_jt)->contains(**prev_jt))
|
||||
{
|
||||
LOG_INFO(log, "Part " << (*curr_jt)->name << " contains " << (*prev_jt)->name);
|
||||
(*prev_jt)->remove_time = time(0);
|
||||
data_parts.erase(prev_jt);
|
||||
prev_jt = curr_jt;
|
||||
@ -296,7 +295,6 @@ void MergeTreeData::loadDataParts()
|
||||
}
|
||||
else if ((*prev_jt)->contains(**curr_jt))
|
||||
{
|
||||
LOG_INFO(log, "Part " << (*prev_jt)->name << " contains " << (*curr_jt)->name);
|
||||
(*curr_jt)->remove_time = time(0);
|
||||
data_parts.erase(curr_jt++);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user