mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Decrease log level in IPAddressDictionary for duplicated records
After RELOAD DICTIONARY had been changed to capture the logs (by attaching query's thread group) the 01852_dictionary_found_rate_long fails because of this warning. But it does not looks like it should be a warning, so change to trace.
This commit is contained in:
parent
4c47d91c94
commit
efcde4c84f
@ -417,7 +417,7 @@ void IPAddressDictionary::loadData()
|
||||
return cmpres;
|
||||
});
|
||||
if (deleted_count > 0)
|
||||
LOG_WARNING(logger, "removing {} non-unique subnets from input", deleted_count);
|
||||
LOG_TRACE(logger, "removing {} non-unique subnets from input", deleted_count);
|
||||
|
||||
auto & ipv6_col = ip_column.emplace<IPv6Container>();
|
||||
ipv6_col.resize_fill(IPV6_BINARY_LENGTH * ip_records.size());
|
||||
@ -444,7 +444,7 @@ void IPAddressDictionary::loadData()
|
||||
return compareTo(a, b);
|
||||
});
|
||||
if (deleted_count > 0)
|
||||
LOG_WARNING(logger, "removing {} non-unique subnets from input", deleted_count);
|
||||
LOG_TRACE(logger, "removing {} non-unique subnets from input", deleted_count);
|
||||
|
||||
auto & ipv4_col = ip_column.emplace<IPv4Container>();
|
||||
ipv4_col.reserve(ip_records.size());
|
||||
|
Loading…
Reference in New Issue
Block a user