Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

datalake_fdw: the agent engine client (meta/engine_agent)

未关闭
#2,012 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, cpp, grpc, postgresql

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
C
星标
1.4k
派生
248
平均合并
4 天 10 小时
30 天内合并 PR
40

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/cloudberry 的其他 Issue

查看 apache/cloudberry 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。