Skip to content

Commit 9554a34

Browse files
nipunn1313Convex, Inc.
authored andcommitted
Gt -> Gte in system table cleanup worker (#35999)
Noticing that sometimes the first entry is skipped. I suspect it's due to multiple rows having the same creation time, and due to the cursor ending up right on the boundary, one of the rows gets skipped permanently. GitOrigin-RevId: c1fe4ea759d5a03160c6b90a4bde93d3636d6e8c
1 parent 011dbfc commit 9554a34

File tree

1 file changed

+1
-1
lines changed
  • crates/application/src/system_table_cleanup

1 file changed

+1
-1
lines changed

crates/application/src/system_table_cleanup/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ impl<RT: Runtime> SystemTableCleanupWorker<RT> {
307307
// The semantics of the cursor mean that all documents <= cursor have been
308308
// deleted, but retention might not have run yet, so we skip over their
309309
// tombstones.
310-
range.push(IndexRangeExpression::Gt(
310+
range.push(IndexRangeExpression::Gte(
311311
CREATION_TIME_FIELD_PATH.clone(),
312312
f64::from(*cursor).into(),
313313
));

0 commit comments

Comments
 (0)