Skip to content

Commit

Permalink
fix:remove incorrect assert for delete query
Browse files Browse the repository at this point in the history
Signed-off-by: luzhang <[email protected]>
  • Loading branch information
luzhang committed Dec 17, 2024
1 parent 28fdbc4 commit 6ce237b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions internal/core/src/segcore/DeletedRecord.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,19 +191,15 @@ class DeletedRecord {

auto it = start_iter;
while (it != accessor.end() && it != end_iter) {
AssertInfo(it->second <= insert_barrier,
"delete record beyond insert barrier, {} : {}",
it->second,
insert_barrier);
bitset.set(it->second);
if (it->second < insert_barrier) {
bitset.set(it->second);
}
it++;
}
while (it != accessor.end() && it->first == query_timestamp) {
AssertInfo(it->second <= insert_barrier,
"delete record beyond insert barrier, {} : {}",
it->second,
insert_barrier);
bitset.set(it->second);
if (it->second < insert_barrier) {
bitset.set(it->second);
}
it++;
}
}
Expand Down

0 comments on commit 6ce237b

Please sign in to comment.