mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Fix querynode crash caused by json index (#42982)
issue: https://github.com/milvus-io/milvus/issues/42978 Signed-off-by: sunby <sunbingyi1992@gmail.com>
This commit is contained in:
parent
17f1ab71bb
commit
23c784cf69
@ -133,8 +133,9 @@ class SegmentSealed : public SegmentInternalInterface {
|
||||
if (any_type) {
|
||||
return true;
|
||||
}
|
||||
return milvus::index::json::IsDataTypeSupported(
|
||||
index.cast_type, data_type, is_json_contain);
|
||||
return index.nested_path == path &&
|
||||
milvus::index::json::IsDataTypeSupported(
|
||||
index.cast_type, data_type, is_json_contain);
|
||||
});
|
||||
return it != json_indices.end();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user