Retry an insertion round with fewer workers when it is refused for memory
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
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c
- Lĩnh vực
- backend, performance
Hướng nghiên cứu
Start with wirelog/columnar/eval_tdd_insert.c and the wl_columnar_eval_tdd_insert_stratum round, then read wirelog/columnar/session.c to follow how ENOSPC reaches col_session_snapshot_impl. Find the existing insert-route tests and round hook; the issue does not name their files. Done when budgeted snapshots at 4 and 8 workers retry, succeed, and match fresh evaluation, while unbudgeted round and task counts stay unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Since #2122 a snapshot after an incremental insert runs a stratum's insertion rounds on up to num_workers worker clones (wl_columnar_eval_tdd_insert_stratum, wirelog/columnar/eval_tdd_insert.c). Each clone holds its own arena, delta pool, arrangements and output bags, and the leading inputs of split instances are copied into ranges. On the CSPA overlap bench row the process's peak RSS at 16 workers rose from about 400 MB to about 710 MB (433 to 488 MB at 8 workers).
Under an enforcing memory budget, a round that fitted on one clone can now be refused. The refusal is returned from the snapshot as ENOSPC. session_snapshot_insert's caller (col_session_snapshot_impl, wirelog/columnar/session.c) falls back to full evaluation only on ENOTSUP/EINVAL, so that snapshot fails and the session re-evaluates in full at the next snapshot.
Proposed change
When a parallel round fails with ENOSPC, discard its bags (the heads are untouched until the merge), and retry the same round with fewer tasks and no range splitting, down to one clone, before failing the snapshot.
Acceptance
- A test with an enforcing budget that admits the serial round but not the parallel one: at 4 and 8 workers the insert-route snapshot succeeds, matches a fresh evaluation, and the round hook reports the retry.
- Without a budget, round and task counts are unchanged.
- Ngôn ngữ chính
- C
- Star
- 18
- Fork
- 2
- Merge trung bình
- 9 giờ 28 phút
- Pull request đã merge (30 ngày)
- 169
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 semantic-reasoning/wirelog
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
semantic-reasoning/wirelog#2229 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Doc: insert executor and incremental consolidation leave sorted runs, not globally sorted headsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
semantic-reasoning/wirelog#2133 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
semantic-reasoning/wirelog#2042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
semantic-reasoning/wirelog#1914 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
semantic-reasoning/wirelog#2262 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của semantic-reasoning/wirelog
Issue tương tự
-
bug intrinsic medium priority rt_lib
Độ 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
-
[CLI] Clarify distinction between 'capture camera' and 'capture screen' in help text and outputĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
espressif/esp-vision#18 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
sumatrapdfreader/sumatrapdf#6417 · 3 bình luận ·
-
[BUG] Cython cache evicts most recent instead of oldest entry on cleanupCó thể đã có người làm @scoder đã nhận hôm nay. Đang mởBuild System defect
Độ 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 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
HexaCluster/credcheck#94 ·