Skip to content

Commit

Permalink
Remove to_position_inclusive parameter from fetch stream (#4128)
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload authored Nov 14, 2023
1 parent 443be6e commit 4feca08
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 217 deletions.
2 changes: 0 additions & 2 deletions quickwit/quickwit-indexing/src/source/ingest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ impl Source for IngestSource {
.publish_position_inclusive
.unwrap_or_default();
let from_position_exclusive = current_position_inclusive.clone();
let to_position_inclusive = Position::Eof;

let status = if from_position_exclusive == Position::Eof {
IndexingStatus::Complete
Expand All @@ -421,7 +420,6 @@ impl Source for IngestSource {
source_id,
shard_id,
from_position_exclusive,
to_position_inclusive,
))
.await
{
Expand Down
Loading

0 comments on commit 4feca08

Please sign in to comment.