mirror of https://github.com/milvus-io/milvus.git
Signed-off-by: jinhai <hai.jin@zilliz.com>pull/2082/head
parent
723b10600b
commit
54c9386bdc
|
@ -9,6 +9,8 @@ Please mark all change in change log and use the issue from GitHub
|
||||||
- \#1929 Skip MySQL meta schema field width check
|
- \#1929 Skip MySQL meta schema field width check
|
||||||
- \#2073 Fix CheckDBConfigBackendUrl error message
|
- \#2073 Fix CheckDBConfigBackendUrl error message
|
||||||
|
|
||||||
|
- \#2076 CheckMetricConfigAddress error message
|
||||||
|
|
||||||
## Feature
|
## Feature
|
||||||
- \#1965 FAISS/NSG/HNSW/ANNOY use unified distance calculation algorithm
|
- \#1965 FAISS/NSG/HNSW/ANNOY use unified distance calculation algorithm
|
||||||
- \#2064 Warn when use SQLite as metadata management
|
- \#2064 Warn when use SQLite as metadata management
|
||||||
|
|
|
@ -1093,7 +1093,7 @@ Status
|
||||||
Config::CheckMetricConfigAddress(const std::string& value) {
|
Config::CheckMetricConfigAddress(const std::string& value) {
|
||||||
if (!ValidationUtil::ValidateIpAddress(value).ok()) {
|
if (!ValidationUtil::ValidateIpAddress(value).ok()) {
|
||||||
std::string msg = "Invalid metric ip: " + value + ". Possible reason: metric_config.ip is invalid.";
|
std::string msg = "Invalid metric ip: " + value + ". Possible reason: metric_config.ip is invalid.";
|
||||||
return Status(SERVER_INVALID_ARGUMENT, "Invalid metric config ip: " + value);
|
return Status(SERVER_INVALID_ARGUMENT, msg);
|
||||||
}
|
}
|
||||||
return Status::OK();
|
return Status::OK();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue