`quickwit index ingest --force` force-commits every batch with ingest v2
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- rust
- Lĩnh vực
- cli, data-engineering
Hướng nghiên cứu
Bắt đầu từ điểm vào CLI quickwit index ingest và tái hiện hành vi bằng ingest v2, sử dụng lệnh và giới hạn batch 8 MB được nêu trong issue. Theo dõi cách --force được áp dụng trên tất cả các batch đã gửi. Hoàn thành có nghĩa là các batch không phải batch cuối sử dụng chế độ commit thông thường, chỉ request cuối cùng bị buộc thực hiện và CLI chờ cho đến khi tất cả tài liệu có thể tìm kiếm được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
With ingest v2, quickwit index ingest --force appears to force-commit every submitted batch instead of only the final batch.
The CLI help describes --force as:
Force a commit after the last document is sent, and wait for all documents to be committed and available for search before exiting.
In practice, an ingest using an 8 MB batch limit published one split per approximately 8 MB request. This generated many tiny splits and continuous merge activity while the CLI was still ingesting.
Steps to reproduce
- Start a single-node Quickwit 0.9.0-rc1 instance with ingest v2 enabled.
- Create an index with a normal stable-log merge policy.
- Generate 131,072 NDJSON documents of approximately 4 KB each (approximately 525 MB uncompressed in total).
- Ingest them with:
quickwit index ingest \
--index migration-test \
--batch-size-limit 8MB \
--force \
--commit-timeout 15m \
-y
Observed behavior
Each approximately 8 MB input batch triggered a published split containing roughly 1,995 documents:
publish-new-splits num_splits=1 num_docs=1995 split_size_bytes=54998
checkpoint_delta: ...00000000000000027943..00000000000000029939
publish-new-splits num_splits=1 num_docs=1995 split_size_bytes=55029
checkpoint_delta: ...00000000000000029939..00000000000000031935
For 131,072 documents, this corresponds to roughly 66 forced commits/splits before concurrent merges. The merge pipeline continuously compacted the small splits, and the final published state contained three merged splits.
The behavior was reproduced both with a native build and the official quickwit/quickwit:v0.9.0-rc1 image.
Expected behavior
Non-final batches should use the normal commit mode. Only the last request should use a forced commit, after which the CLI should wait until all submitted documents are searchable.
This should avoid unnecessary split creation, uploads, metastore operations, and immediate merge work.
Environment
Quickwit 0.9.0
commit: bfcc15e
official image: quickwit/quickwit:v0.9.0-rc1
platform: aarch64-unknown-linux-gnu
embedded node config version: 0.8
The documents were ingested successfully and search results were correct; this report concerns split/commit behavior and the resulting write amplification.
- Ngôn ngữ chính
- Rust
- Star
- 11.8k
- Fork
- 628
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 50
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quickwit-oss/quickwit
-
area:otel documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
quickwit-oss/quickwit#6686 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add some examples of requests in the REST API reference docsCó thể đã có người làm @Cunninger đã nhận 88 ngày trước. Đang mởenhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
quickwit-oss/quickwit#4266 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
quickwit-oss/quickwit#3872 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update docs on range queriesĐang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
quickwit-oss/quickwit#3666 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
implement retry for ListTermsĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
quickwit-oss/quickwit#2769 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quickwit-oss/quickwit
Issue tương tự
-
p2 ready-mac
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
quickwit-oss/tantivy#3299 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`stream enable` fails with "already enabled" on every fresh session since streaming became always-onĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vercel-labs/agent-browser#2797 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
witchesofthehill/manabrew#1309 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
userFRM/egui-charts#4494 ·
Maintainer thường phản hồi trong vòng 1 ngày