Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

datalake_fdw: the agent engine client (meta/engine_agent)

Đang mở
#2,012 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Công nghệ
c, cpp, grpc, postgresql

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ả

datalake

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 DlErrCode ABI: no exception or longjmp crosses it; agent error detail lands in dl_error_set.
  • Stubs generated at build time from B0 (protoc plus 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 -D exports 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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/cloudberry

Tất cả issue của apache/cloudberry

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.