Iceberg processor: S3 discovery still lists every segment and rereads every footer on each poll
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
- 58/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- data-engineering, stream-processing
Hướng nghiên cứu
Start by comparing the Iceberg processor’s S3 discovery path with the SQL processor change in issue #482. Trace how mapped topics are listed and how segment footers are verified during each poll. Done means discovery is limited to mapped topics, verified footers are cached, and a newly written mapped topic is found on the next poll without rereading every footer.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
The Iceberg processor's S3 discovery still lists every object under the namespace and then reads each segment footer, one at a time, on every poll. #482 fixed this only in the SQL processor: that processor now lists only the topics a query reads, and it keeps verified footers in a bounded cache.
With a large topic already in the bucket, new topics take minutes to appear, and every poll does thousands of object GETs.
Steps to reproduce
- Write a topic of 2000 segments into the bucket (one record per produce request is enough).
- Run the Iceberg processor against that bucket with S3 discovery, and mappings for other topics that are not yet written.
- Write those mapped topics (a few segments each) and wait for the processor to create the tables.
Actual
On main at fc9ed22, with 2000 existing segments in the bucket plus a smaller topic, every poll cost about 2100 object GETs (one footer read per complete segment, sequentially). New mapped topics were written at 19:59:45 and their tables were created at 20:03:30 and 20:03:54 (Europe/Malta, UTC+1), 3 to 4 minutes later.
Expected
Discovery should list only the mapped topics, remember verified footers, and pick up a new topic on the next poll without rereading every footer in the bucket.
Version
main at fc9ed229387ae7172a4e22711da27be82636037b (v2.2.0).
- Ngôn ngữ chính
- Go
- Star
- 59
- Fork
- 16
- Merge trung bình
- 5 giờ 46 phút
- Pull request đã merge (30 ngày)
- 121
Chuẩn bị môi trường
- Không có Dockerfile hay 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 KafScale/platform
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của KafScale/platform
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
erigontech/erigon#27233 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/tests needs-triage theme/ci-dx
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
kubescape/kubescape#6095 · 1 bình luận ·
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 86/100
oras-project/oras-go#1853 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100