Graceful shutdown can take ~70s draining an empty replacement ingest shard
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- rust
調査の方向性
ingest v2 フローの graceful shutdown から始め、次に、停止するインデックス作成パイプラインに replacement shard を割り当てる control-plane plan の変更を追跡します。0.8.2 から 0.9.0 への migration と shutdown sequence を再現し、報告されたログを使って shard の draining と scheduling を追跡します。完了条件は、shutdown によって不要な空の replacement shard が作成されないこと、またはそれが容量に関する警告を繰り返し出さずに処理されることです。
索引モデルが issue の本文から書いたものです。
説明
Description
Graceful shutdown of a single-node Quickwit 0.9.0-rc1 instance can spend approximately 70 seconds draining and deleting an empty replacement ingest shard while repeatedly reporting that no indexing capacity is available.
All submitted documents had already been committed and verified through REST search before shutdown.
Setup
- Single node running all default services
- File-backed metastore and local split storage
- Index migrated from Quickwit 0.8.2 to 0.9.0-rc1
- 524,288 legacy documents plus 131,072 documents ingested after the upgrade
- The final search returned exactly 655,360 documents with no split errors
Steps to reproduce
- Start Quickwit 0.8.2 and ingest data into an index.
- Stop 0.8.2 cleanly.
- Start 0.9.0-rc1 on the same data directory.
- Ingest additional data using ingest v2 and wait for
quickwit index ingest --forceto complete. - Verify the expected document count through the REST search API.
- Send
SIGINTto initiate graceful shutdown.
Observed behavior
Shutdown began normally:
Graceful shutdown initiated. Waiting for ingested data to be indexed.
quickwit_ingest::ingest_v2::ingester: retiring ingester
The completed shard reached EOF and was deleted, but the control plane assigned a new replacement shard to the retiring indexing pipeline. Shutdown then repeatedly logged:
no ready indexer available, falling back to retiring indexers for shard draining
no indexing capacity available, cannot schedule an indexing plan
The plan diff continued to contain the replacement _ingest-source shard on the retiring node. Eventually Quickwit published an empty checkpoint for that shard, deleted it, and completed:
publish-new-splits num_splits=0 num_docs=0 split_size_bytes=0
successfully decommissioned ingester in 70.30s
REST server successfully shut down
quickwit successfully terminated
No data was lost and the process exited successfully. A second run using the official RC1 container completed graceful shutdown in approximately 22 seconds, so the 70-second path appears timing-sensitive rather than deterministic.
Expected behavior
Once the node is retiring and all accepted data has been indexed, graceful shutdown should not allocate a replacement empty shard that must itself be scheduled and drained.
If the longer drain is an intentional bounded path, the scheduler should avoid repeated alarming no indexing capacity available warnings for an expected single-node shutdown.
Environment
Quickwit 0.9.0
commit: bfcc15e
release feature set (DataFusion disabled)
single-node, file-backed metastore
The issue was first observed with a native build from the exact RC1 commit. The migration and data-integrity checks also passed using the official quickwit/quickwit:v0.9.0-rc1 image.
- 主要言語
- Rust
- スター
- 11.8k
- フォーク
- 628
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 50
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quickwit-oss/quickwit のほかの issue
-
area:otel documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
quickwit-oss/quickwit#6686 ·
メンテナーはふだん 1 日以内に返信
-
Add some examples of requests in the REST API reference docs対応中かも @Cunninger が 88 日前に担当しました。 オープンenhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
quickwit-oss/quickwit#4266 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
quickwit-oss/quickwit#3872 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
quickwit-oss/quickwit#3666 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
quickwit-oss/quickwit#2769 ·
メンテナーはふだん 1 日以内に返信
quickwit-oss/quickwit の issue をすべて見る
似ている issue
-
[M09] Silence parser misreads ffmpeg times in scientific notation (6.25e-05 → 6.25 s)対応中かも @G-darshan-32 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
clipy-recorder/clipy#164 · コメント 1 件 ·
-
p2 ready-mac
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
quickwit-oss/tantivy#3299 ·
メンテナーはふだん 1 日以内に返信
-
P2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
arcships/dim#2294 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
`stream enable` fails with "already enabled" on every fresh session since streaming became always-onオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vercel-labs/agent-browser#2797 ·
メンテナーはふだん 1 日以内に返信