quickwit-oss / quickwit-oss/quickwit

Add retry if file read stream is broken

Open
#5,243 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

Description

Is your feature request related to a problem? Please describe.
Currently, the file source uses a streamed reader that doesn't have a retry mechanism if there is an IO error in the middle of the read.

Describe the solution you'd like
Add a retry when reading a record from the file returns an error, except if we are certain that the error cannot be recovered from.

Describe alternatives you've considered
We can leave it as is: the error bubbles up, the pipeline is restarted and resumes from the last checkpoint.

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the file source's streamed reader and the path that reads a record, then inspect how IO errors are classified and how the pipeline handles checkpoints. The change is complete when recoverable mid-read errors are retried while errors known to be unrecoverable still bubble up; add or run the relevant reader tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.