quickwit-oss / quickwit-oss/quickwit

Ingestion failure when recreating an index

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

Nobody has claimed this yet.

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

Description

Describe the bug
When re-creating an index, sometimes the control plane schedules the old pipeline and indexing fails. It might be because the reschedule takes too long to happen or another bug.

Steps to reproduce (if applicable)
Integration test ingest_tests::test_ingest_recreated_index

Expected behavior
A clear and concise description of what you expected to happen.

Configuration:
Please provide:

  1. Output of quickwit --version
  2. The index_config.yaml

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

Start with quickwit/quickwit-integration-tests/src/tests/ingest_tests.rs, especially ingest_tests::test_ingest_recreated_index, and run the integration test to reproduce the failure. Trace how index recreation schedules pipelines in the control plane, focusing on whether the old pipeline can be scheduled. Done means the recreated-index ingestion test passes reliably without the old pipeline causing indexing failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
distributed-systems, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.