mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Rectify OffsetOrderedArray contain logic (#37305)
Related to #36887 Remove non-hit pk delete record logic does not work since `insert_record_.contain` does not work due to logic problem. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
3a3404658e
commit
7961568223
@ -179,7 +179,7 @@ class OffsetOrderedArray : public OffsetMap {
|
||||
[](const std::pair<T, int64_t>& elem,
|
||||
const T& value) { return elem.first < value; });
|
||||
|
||||
return it != array_.end();
|
||||
return it != array_.end() && it->first == target;
|
||||
}
|
||||
|
||||
std::vector<int64_t>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user