mirror of https://github.com/milvus-io/milvus.git
Fix offset in search should not equal to insert barrier (#19522)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com> Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>pull/19537/head
parent
5405dedd2e
commit
a8cabbfaa9
|
@ -234,7 +234,7 @@ struct InsertRecord {
|
|||
std::vector<SegOffset> res_offsets;
|
||||
auto offset_iter = pk2offset_->find(pk);
|
||||
for (auto offset : offset_iter) {
|
||||
if (offset <= insert_barrier) {
|
||||
if (offset < insert_barrier) {
|
||||
res_offsets.push_back(SegOffset(offset));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue