datalake_fdw: the agent engine client (meta/engine_agent)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- backend, build-system, ci-cd, databases, distributed-systems, testing-qa
Hướng nghiên cứu
Start with src/meta/engine_agent/ and the B0 dependency, then review the conformance suite described in the issue against the stub and B1. Verify the client, generated stubs, GUC, cancellation and deadline handling, handshake, error detail, and EXPLAIN ANALYZE metrics. Done means the listed acceptance cases pass, exports stay limited, and both gated and ungated Arrow builds work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of #2008. Letters (A, B0–B7, C, D, E) are the PRs listed there; this is B2.
Scope
src/meta/engine_agent/: the first real IcebergMetaEngine, default in place of the stub (the stub stays for tests).
- C dispatch over a C++ gRPC layer behind the
DlErrCodeABI: no exception or longjmp crosses it; agent error detail lands indl_error_set. - Stubs generated at build time from B0 (
protocplus the gRPC C++ plugin); grpc++ detected under--enable-datalake-fdw. - A GUC for the agent address: Unix socket by default, TCP with a token file when set.
- Deadline, cancel polling and a wait event while a call is in flight; handshake on first call; RPC count and time in
EXPLAIN ANALYZE. - Conformance suite: the same scenarios against the stub and against B1. Against B1 it proves the plumbing (handshake, cancel, deadline, agent down, error detail); B3 and B4 turn it fully green.
- CI job: build the B1 jar, start it on a socket, run the suite.
Out of scope
Builtin engine (B4), the proxy.
Depends on
B0; tested against B1.
Acceptance
- Agent down: clear error within the deadline, transaction rolls back, nothing hangs.
- Cancel mid-call returns promptly with no leaked channel.
- Version mismatch refused naming both versions.
nm -Dexports only PostgreSQL entry points (no grpc++/protobuf); builds with and without the gate; Arrow 9 and 17.
- Ngôn ngữ chính
- C
- Star
- 1.4k
- Fork
- 248
- Merge trung bình
- 4 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 40
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 apache/cloudberry
-
type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/cloudberry#1885 · 2 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
apache/cloudberry#1825 ·
-
type: Bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
apache/cloudberry#2048 · 1 reaction ·
-
type: Bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 40/100
apache/cloudberry#2047 ·
-
type: Bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
apache/cloudberry#2046 · 1 bình luận ·
Tất cả issue của apache/cloudberry
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bradcypert/plum#53 ·
-
Component: GLib
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Status: Opened
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
nextbsd/nextbsd-userland#285 ·