Loosened threshold on broken parts in filesystem [#CLICKHOUSE-3076].

This commit is contained in:
Alexey Milovidov 2017-06-21 22:11:11 +03:00
parent 5c322f5756
commit 7bdc87adf0

View File

@ -360,7 +360,6 @@ void MergeTreeData::loadDataParts(bool skip_sanity_checks)
int contained_parts = 0;
LOG_ERROR(log, "Part " << full_path + file_name << " is broken. Looking for parts to replace it.");
++suspicious_broken_parts;
for (const String & contained_name : part_file_names)
{
@ -388,6 +387,7 @@ void MergeTreeData::loadDataParts(bool skip_sanity_checks)
LOG_ERROR(log, "Detaching broken part " << full_path + file_name
<< " because it covers less than 2 parts. You need to resolve this manually");
broken_parts_to_detach.push_back(part);
++suspicious_broken_parts;
}
}