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:
Azat Khuzhin 2021-05-09 22:31:44 +03:00
parent 4c47d91c94
commit efcde4c84f

View File

@ -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());