Repository navigation
test(etcd): 设计并分阶段落地嵌入式 etcd 健壮性 E2E 方案 - #613
Conversation
Design the phased robustness program and land its first phase: fault-recovery safety. The suite keeps an external operation history of every mutation outside the etcd data directory and checks the recovered state against it with a correctness oracle (explainable key state, at most one concurrent CAS winner, no revision rollback), so "it looked fine afterwards" is never evidence. Phase 1 covers four scenarios on a real embedded etcd started through pkg/embedw: a graceful member restart, repeated SIGKILL of a member under continuously acknowledged writes, quota exhaustion with the documented repair path, and a damaged WAL that must never come up serving a store. Damage is injected into a copy of the data directory, so the original still recovers. The design document records the phased plan (fault recovery, multi-member faults, restorable backups, long-run stability), the acceptance criteria, and four findings from this phase: - a byte flip in the first WAL record makes etcd 3.7.1-k3s1 panic with a nil pointer dereference instead of returning an error; - that failed start truncates the damaged 64MB segment to 16 bytes first, destroying the evidence; - a mid-WAL byte flip is not fail-fast: it usually reports a checksum error, but sometimes leaves a member that starts, becomes leader and never gets ready, so embedw.Start blocks its full 60s and returns a bare context.DeadlineExceeded; - the backend size etcd reports is not tied to quota-backend-bytes, so a capacity rule built on that ratio would mislead. Fixes #612
|
Quality Gate Failed Quality Gate failed 这个需要修复。 |
|
代码质量需要修复:identical expressions on the left and right side of the '!=' operator func TestHashValueIsStableAndDistinct(t *testing.T) { func TestHashValueIsStableAndDistinct(t *testing.T) { func TestRecorderRoundTrip(t *testing.T) { |
Address every issue the PR's SonarCloud quality gate and DeepSource run
flagged, without changing what the scenarios assert:
- history_test.go: pin the expected SHA-256 of "a" instead of comparing
HashValue("a") with itself (go:S1764, SCC-SA4000, RVV-A0001, the single
bug that held the Reliability Rating on New Code at C).
- oracle.go: rename the `max` local to `highest` (go:S978, CRT-A0001).
- Split the long scenarios into helpers so each function stays inside the
complexity limits (go:S3776, GO-R1005): history round-trip, graceful
restart, strong-kill rounds, quota exhaustion and WAL corruption.
- recovery_test.go: derive the strong-kill dwell from the run seed with
SHA-256 instead of math/rand (GSC-G404), keeping the same fixed-seed
reproducible behaviour and dwell range.
DESIGN.md reports the phase-1 status per Issue scenario (executed vs not
executed with the missing prerequisite), the runner layers, the budgets and
the CI layering, so a green PR is not read as a robustness pass.
Evidence: go vet ./tests/etcdrobustness/ clean; ETCD_ROBUSTNESS_WORKDIR go
test ./tests/etcdrobustness/ -count=1 -v -timeout 900s -> exit 0 (31 pass,
1 skip: the child-process-only test).
The helper split left verifyKilledRound with 8 parameters (go:S107). Pass the round's data directory and addresses as a sigkillRoundTarget instead, so the new code carries no SonarCloud issue. Evidence: go vet ./tests/etcdrobustness/ clean; ETCD_ROBUSTNESS_WORKDIR go test ./tests/etcdrobustness/ -count=1 -v -timeout 900s -> exit 0 (31 pass, 1 skip: the child-process-only test).
The Issue's phase-1 table lists six scenarios and its note requires the K8E recovery budget to include bootstrap and API readiness. Say that the strong-kill row is reported at both layers, and that the in-process ceilings are not the container layer's 300s API-start budget.
DeepSource go:RVV-A0002 (context.Context should be the first parameter of a function) flagged the ten live-store helpers introduced by the refactor; reorder their parameters so ctx comes first, keeping every assertion and call unchanged.
|
Orbi: fix needed — the engine will retry What happened: the independent review of PR #613 failed: Command '['gh', 'issue', 'edit', '612', '--repo', 'xiaods/k8e', '--add-label', 'ai-awaiting-merge', '--remove-label', 'ai-pr-opened']' returned non-zero exit status 1. stderr=failed to update #612: 'ai-awaiting-merge' not found DiagnosisOrbi needs a fix: Command '['gh', 'issue', 'edit', '612', '--repo', 'xiaods/k8e', '--add-label', 'ai-awaiting-merge', '--remove-label', 'ai-pr-opened']' returned non-zero exit status 1. stderr=failed to update https://github.com//issues/612: 'ai-awaiting-merge' not found failed to update 1 issue run=736536d3 issue=#612 role=review branch=orbi/xiaods-k8e-issue-612 worktree=/home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-736536d3 session=01a0bcef-e826-7454-a772-419da77572eb session_file=/home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-736536d3/.pi-session/2026-09-20T03-50-34-280Z_01a0bcef-e826-7454-a772-419da77572eb.jsonl phase=bash last_activity=2026-09-20T04:28:08.681Z action="assistant text" result=- Failure evidence (captured before cleanup): exit_code=1stderr_tail: stdout_tail: session_last_events (last 20 records; full log: /home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-736536d3/.pi-session/2026-09-20T03-50-34-280Z_01a0bcef-e826-7454-a772-419da77572eb.jsonl): test_log_tail: |
xiaods
left a comment
There was a problem hiding this comment.
结论:REQUEST_CHANGES。测试方向有价值,但恢复判定器和故障观察边界存在会漏报的数据正确性问题。
审查 head:8ad938f6072b77a268520d3b7209c0b9775592fc。以下发现来自精确 head 的代码路径分析;未声称已执行反例测试。
动机
#612 要验证 K8E 对嵌入式 etcd 的集成与故障恢复能力,并按恢复、多节点、备份、长期稳定性顺序交付。现有 TestKubernetesRestartRecovery 主要验证 ConfigMap CAS 和容器正常重启,不能替代持续写入中 SIGKILL、quota 或离线 WAL 损坏测试。
本 PR 新增真实 pkg/embedw 调用、外部数据目录中的请求历史及恢复 oracle,覆盖此前缺少的低层故障边界,具有持续回归价值。它目前仍是 embedded-etcd 层的阶段性基础:不执行完整 K8E server/API 恢复、断电、EIO、多节点或备份恢复。设计文档的覆盖表对此有明确披露,允许分阶段交付是合理的;但 PR 正文的 Fixes #612 会在合并时关闭包含阶段 2–4 的整体需求,应改成关联说明并保留未完成事项。
改动思路
入口是 go test ./tests/etcdrobustness。StartNode 将 NodeOptions 转成 embedw.Config,以 Dir/data 保存节点状态;检测 member/snap 后选择 existing,通过 pkg/embedw.Start 等待节点 ready。客户端写操作先调用 Recorder.Begin 写 pending 并 fsync,再记录成功 revision、拒绝或 unknown。LoadHistory 按 operation-id 归并末条记录,把未完成 intent 转成 unknown;Verify 读取恢复状态,比较允许的最终 hash,并检查同一预期 revision 的已确认 CAS 赢家数量。调用者另行检查集群身份及全局 revision 下限。
正向路径:平稳重启测试写入 20 条记录、执行八方 CAS 和 Watch,然后关闭客户端与节点,复用原目录启动,比较 member/cluster ID、历史及 revision,最后做新的 Put/Get/Watch。故障路径:SIGKILL 测试重执行测试二进制,等待 ready 和第一条确认后按固定 seed 派生的 dwell 杀死子进程,再启动原目录检查。固定 dwell 可重现配置,但不保证调度或被杀时的具体操作相同。
负向路径:WAL 测试只破坏目录副本,若 StartNode 返回可服务节点则失败;特定 WAL 错误或启动 panic 被记为拒绝服务,原目录再次启动并检查记录数量。quota 路径要求 NOSPACE 错误和 alarm,验证数据,再经 delete、compact、defragment、alarm disarm 检查恢复写入。这些路径不修改生产代码。
具体改动
完整范围是 10 个新增文件、2695 行,无删除、生成代码或机械移动:328 行设计文档,2367 行测试及测试支撑。三个非 _test.go 文件仍只服务测试,没有新增生产调用者或发布协议。
- history.go / history_test.go:Record、Outcome、Kind、Recorder 与 Attempt 定义操作日志;覆盖 round-trip、pending 归并、重复 finish、写入/fsync 失败、关闭后 Begin、损坏 JSON 等。
- oracle.go / oracle_test.go:State、Verify、allowedStates、VerifyAtMostOneCASWinner 和 revision 辅助函数;覆盖确认写丢失、删除复活、未知写提交/未提交、拒绝操作、CAS 多赢家与 revision 回退。
- node.go / node_test.go:封装启动、停止、客户端及 ClientReader;覆盖缺失/错误 URL、端口占用、不可达 endpoint、已存在/不存在键和取消上下文。
- recovery_test.go:平稳重启、默认十轮真实子进程 SIGKILL、历史工作负载、身份记录、轮询、Watch 和现场保留。
- quota_test.go:8 MiB quota、八个键循环写入、NOSPACE 检查与维护后写入。
- corruption_test.go:复制数据目录,在 WAL metadata 和 written-tail 两处翻转字节,检查拒绝启动及原目录可恢复。
- DESIGN.md:运行命令、环境变量、覆盖边界、后续阶段和作者观察到的 F1–F4。F1–F4 是作者报告,本轮未独立复现。
关键代码讲解:
- Recorder.Begin / Attempt.finish:把“先持久化 intent、后发请求”变为统一调用协议;写入和 Sync 错误返回给调用者。但 Begin 按值是否为空决定是否哈希,破坏了空值语义,见 R3。
- allowedStates / Verify:以最高确认 revision 的效果作为基线,再加入所有 unknown 的效果;它没有执行 CAS 的前置条件。VerifyAtMostOneCASWinner 只统计 acknowledged,无法弥补这个漏洞,见 R1。
- TestEmbeddedEtcdRobustnessChild / runSigkillRound:节点、客户端、recorder 实际都位于被杀子进程;父进程只轮询日志并负责 kill/restart。日志路径在 data 之外不等于观察者在故障进程之外,见 R2。
- runDamageSite / repairFullStore:前者以返回节点、panic、特定错误区分损坏启动结果;后者执行维护后确认可写。故障影响限制在测试数据内,清理或保留目录由测试 cleanup 负责。
对主干的风险
R1 — [P1] unknown CAS 的效果必须满足 CAS 前置条件
位置:tests/etcdrobustness/oracle.go:105–110。
触发反例:k 在 revision 3;CAS A 预期 revision 3、写 a,已确认成功于 revision 4;CAS B 同样预期 revision 3、写 b,结果 unknown。恢复读到 b。当前 allowedStates 加入 b,CAS 赢家检查只看到一个 acknowledged,Verify 因而接受此状态。若恢复全局 revision >= 4,调用者的 continuity 检查也不会拒绝。实际上无论 B 在 A 前还是后执行,都不可能同时满足 A 已成功与 B 最终写入:一个成功后另一个比较必败。
这会把无法解释的 CAS 状态报告为恢复正确,影响核心 oracle 及后续复用。最小修复:为 unknown CAS 的候选效果检查预期 revision 和已确认 CAS/更新约束,不能把 CAS 当作无条件 Put。增加上述反例,要求报告 violation,同时保留单个 unknown CAS 确实可能提交的正例。
R2 — [P1] 强杀目标不应包含工作负载和历史记录器
位置:tests/etcdrobustness/recovery_test.go:558–577。
子进程既启动 etcd,也运行客户端和 Recorder。父进程可能在 timedPut 已返回成功、Acknowledge 尚未写入日志时 SIGKILL。LoadHistory 随后将已被客户端确认的写降为 unknown,而未知单次写允许键不存在,导致该窗口内的确认写丢失无法被测试发现。它也不符合 #612 要求记录器在被测节点之外、故障期间继续记录响应的边界。
最小修复:子进程仅托管 etcd,把客户端 workload 和 recorder 放到不被杀的父进程或独立控制进程,让故障前后的响应仍可记录。增加可控同步点:成功响应后暂停记录过程、杀被测节点,再让存活记录器完成 ACK;人为提供缺失恢复状态时 oracle 必须失败。真正断线且未获响应的操作继续归 unknown。
R3 — [P2] 空字符串 payload 不能复用“不存在”的 sentinel
位置:tests/etcdrobustness/history.go:158–162。
Begin(Put, key=k, Value="") 不计算 ValueSHA256,确认后的 effectHash 为 "",oracle 将它解释为键不存在;ClientReader 对真实存在的空值却返回 HashValue("")。因此合法空值写会误报,空值键丢失反而可通过。history_test.go 已验证 HashValue("") 不为空,却没有覆盖 Recorder 到 Verify 的完整路径。
最小修复:按 Kind 对 Put/CAS 无条件哈希 payload,明确空 ExpectValue 的存在语义;不存在由 Exists 或专门状态表达。回归应验证确认空值存在时通过、缺失时失败、Delete 后缺失时通过。
其他覆盖限制:quota 的每次覆盖写使用相同 payload,而 Verify 不比较 State.Revision,因此无法区分同值旧版本与最新版本;建议为每次写加唯一序号并检查键 revision。assertServingAfterRecovery 只执行 Put/Get/Watch,没有恢复后的 Delete/CAS,设计文档“每阶段八方 CAS”的描述应与执行内容对齐。现有 Watch 只数事件,尚未覆盖断线续传或 compaction relist。这些应明确标为覆盖缺口。
验证矩阵:
- 全部 10 个文件、调用链、#612、现有重启测试及 CI 配置:已静态检查。
- git apply --check --whitespace=error-all:通过。
- GitHub 当前检查状态:九项均为 SUCCESS,包含 Go build/test、L1/L2 等;这是远端状态证据,不是独立重跑。
- 新增测试、race、上述反例、损坏/WAL/quota 动态行为:本轮未独立执行。隔离测试网关预检返回 DeadlineExceeded、available=false;不得把作者日志或 CI 绿色当成这些反例已验证。
- 既有覆盖扫描:tests、hack/e2e、pkg/embedw 及 pkg/sandboxmcp/cluster_test.go 未见同形 SIGKILL+WAL/quota 套件。同作者最近列表仅 #611 和 #613,无分钟级同形批量示例的证据,不作 farming 判断。
我的整体评价
REQUEST_CHANGES。这批代码守护真实的 pkg/embedw 生命周期与存储故障边界,测试支撑的规模有明确消费者,不应因测试文件多就否定价值;目前主要风险是测试给出错误安全感,而非直接修改生产运行行为。应先修正 R1/R2,补齐 R3 及判定器负例,再完成独立测试。后续阶段可以继续复用精简后的 recorder/oracle,但不能把当前允许 hash 的集合当成完整并发正确性模型。
不要求本 PR 一次实现阶段 2–4;应保留 #612 的阶段进度,避免通过 Fixes 提前关闭整体目标。发布前已核对本评审精确 head,未执行合并。
|
English verdict: REQUEST_CHANGES at 8ad938f. The recovery oracle accepts an impossible unknown CAS winner despite an acknowledged CAS with the same expected revision; the SIGKILL target also contains the client/recorder and can lose acknowledged-response evidence; empty-string writes are conflated with absence. Reviewed all 10 changed files, Issue #612, existing coverage, and CI configuration. Diff/whitespace validation passed and all nine remote checks report success. Independent runtime tests and executable counterexamples remain unverified because the sandbox gateway timed out. Full Chinese review accompanies this verdict; no merge performed. |
|
Orbi: fix needed — the engine will retry What happened: the independent review of PR #613 failed: no REVIEW_VERDICT line in review output DiagnosisOrbi needs a fix: no REVIEW_VERDICT line in review output run=95c6c8c9 issue=#612 role=review branch=orbi/xiaods-k8e-issue-612 worktree=/home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-95c6c8c9 session=01a0bd94-d8ba-7571-8490-5efd0ab0a82c session_file=/home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-95c6c8c9/.pi-session/2026-09-20T06-50-43-771Z_01a0bd94-d8ba-7571-8490-5efd0ab0a82c.jsonl phase=bash last_activity=2026-09-20T06:54:30.158Z action=thinking result=- Failure evidence (captured before cleanup): exit_code=stderr_tail: stdout_tail: session_last_events (last 20 records; full log: /home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-95c6c8c9/.pi-session/2026-09-20T06-50-43-771Z_01a0bd94-d8ba-7571-8490-5efd0ab0a82c.jsonl): test_log_tail: |
R1 (oracle): an unknown CAS is no longer treated as an unconditional put. allowedStates now drops the candidate effect of an unknown CAS whose expected revision is older than the key's last acknowledged mutation: that CAS either lost the race or read the newer revision and failed, so it can never be the recovered state. Previously an acknowledged CAS at expected revision N and a second unknown CAS at expected revision N could both be reported as winners. Regression: TestVerifyRejectsUnknownCASWinnerAfterAcknowledgedCAS, TestVerifyRejectsUnknownCASBehindLaterAcknowledgedMutation, plus the positive TestVerifyExplainsUnknownCASThatCommitted. R2 (fault boundary): the SIGKILL target now hosts only the etcd member. The client workload and the Recorder move into the parent process, so a response that arrived before the kill is still fsynced as acknowledged instead of degrading into an explainable "unknown" — a lost acknowledged write can no longer hide. The parent writes the member fingerprint and drives the workload until it kills the child. R3 (empty payload): Begin hashes the payload of every put and CAS, including the empty string, so an acknowledged empty value is no longer conflated with the "absent" sentinel. Regression: TestRecorderHashesEmptyPayload and TestRecorderAcknowledgesAfterTheNodeDied cover the full Recorder-to-Verify path in both directions. The CAS ExpectValueSHA256 field is documented as a diagnostic that stays empty when no value expectation was recorded. Also: the quota fill writes a unique payload per request so a stale same-value version cannot pass as the latest one; the post-restart check now exercises the Issue's full CRUD/CAS/Watch contract (stale CAS loses, current CAS wins, Delete removes); DESIGN.md fixes the F1-F4 count, the pkg/embedw/etcd.go readiness line reference (81 -> 93), the strong-kill topology and a new disclosed coverage-gaps paragraph. The PR body no longer says "Fixes #612" so merging cannot close the multi-phase Issue. Evidence: go vet ./tests/... exit 0; go test -count=1 -timeout 600s -cover ./tests/etcdrobustness/ exit 0, 98.5% coverage; go test -race exit 0.
|
|
Orbi: fix needed — the engine will retry What happened: The resume verification of PR #613 failed: PR body is missing DiagnosisOrbi needs a fix: PR body is missing `Fixes #612`; the keyword must point at the source Issue so GitHub closes it natively when the PR merges into the default branch run=95c6c8c9 issue=#612 role=review branch=orbi/xiaods-k8e-issue-612 worktree=/home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-95c6c8c9 session=01a0bd99-8acc-71df-8833-5ee142baf5d4 session_file=/home/orbi-xiaods--k8e-f9e27e8e/delivery/k8e/.worktrees/orbi-xiaods-k8e-issue-612-95c6c8c9/.pi-session/2026-09-20T06-55-51-501Z_01a0bd99-8acc-71df-8833-5ee142baf5d4.jsonl phase=bash last_activity=2026-09-20T07:18:29.736Z action="assistant text" result=- |
xiaods
left a comment
There was a problem hiding this comment.
Overall: APPROVED — with two conditions
The three findings from the prior review (R1/R2/R3) are addressed correctly. The remaining gaps are disclosed in the design doc, not claimed as covered. Two hygiene items need to be fixed before merge.
What was fixed since the prior review
| Finding | Commit | Verdict |
|---|---|---|
| R1 — unknown CAS treated as unconditional put | f8e9dd9c |
Fixed. allowedStates now drops an unknown CAS whose ExpectRevision is older than the key's last acknowledged revision. Three new oracle tests cover both directions. Traced the logic: positive case (unknown CAS at same expected revision as baseline) stays explainable; negative case (older expected revision) is rejected. Correct. |
| R2 — SIGKILL target included workload/recorder | f8e9dd9c |
Fixed. TestEmbeddedEtcdRobustnessChild now only hosts the etcd member. Parent drives client and recorder; firstAck channel + dwell timer guarantees the member is serving before the kill. |
| R3 — empty payload conflated with absent sentinel | f8e9dd9c |
Fixed. Begin now hashes every put/CAS payload including "". TestRecorderHashesEmptyPayload covers the full path in both directions. |
| "Fixes #612" would close the multi-phase issue | PR body | Fixed. Body now says "Part of #612 — this PR lands the phase-1 layer only". |
Conditions before merge
C1 — Independently verify the CI evidence in commit messages. Three commits (f8e9dd9c, da9dce21, b3c5332c) cite go vet ./tests/... clean, go test exit 0, 98.5% coverage, and go test -race exit 0. I reviewed the code statically; I did not execute it. Please run go test -count=1 -race -cover ./tests/etcdrobustness/ and confirm the pass count and coverage before merging. The SIGKILL rounds (10 rounds × 200–700ms dwell) take ~10–20s; the full suite should complete well under the 900s timeout cited in da9dce21.
C2 — Remove "Fixes #612" from the base commit's commit message. Commit 2c32b6c6 still says "Fixes #612" in its message. This doesn't affect GitHub's close-issue behavior (which uses the PR body), but it's a latent footgun if the branch is ever squash-merged. Rebase to drop it, or leave it and accept the risk.
Disclosed gaps (not blockers — already in the design doc)
- Watch reconnection after compaction: the post-restart check exercises Watch, but only counts events, not reconnection after compaction. Design doc discloses this.
- Per-key revision comparison: the oracle compares payload hash, not per-key revision. The scenarios use a unique payload per request — documented workaround, not a fix.
- F1–F4 findings: no tracking issue, no regression case. The design doc records them as "inputs for a follow-up decision". Acceptable for a phase-1 landing, but they should not be silently treated as closed.
- Power-loss / EIO / multi-member / backup restore: declared as phases 2–4, not executed. The coverage table in §4.1 correctly reports these as "not executed".
- Quorum loss / false-ack scenario: phase 2 scenario (b) — kill two members, verify the cluster refuses writes — is designed but not implemented.
Minor observations
-
quota_test.go
fillQuotacycles through 8 keys (quotaKeys = 8), so each key is overwritten ~62 times. The oracle checks the final state of each key against the last acknowledged record for that key. The unique payload per write makes stale versions distinguishable. This is correct, but the design doc's disclosure ("the oracle compares a key's payload hash, not its per-key revision") should be updated to note that the unique-payload workaround handles the overwrite case. -
assertServingAfterRecoveryexercises Delete viaclient.Delete(opCtx, "after/restart"), but this Delete is not recorded in the history — it's a post-recovery liveness check, not an oracle check. The design doc says "CRUD/CAS/Watch" and the test covers all four operations. The Delete just isn't oracle-verified. Fine, but the design doc's "eight concurrent CAS on one key produce exactly one winner" claim should be checked against the actualwriteCASRace(8 racers, same expected revision) — it does match. -
corruption_test.gorunDamageSitereturnscorruptNode != nilas a failure ("a node with a damaged WAL started serving"). The test also handlespanicValue != nilandcorruptErr == nilas failures. The only success path is a clean WAL-damage error. Correct for the negative case. -
TestEmbeddedEtcdRobustnessChildblocks onselect {}until the parent kills it. If the test binary is run outside the parent (e.g.,go test -run TestEmbeddedEtcdRobustnessChild), it will leak the goroutine and never exit. The-runfilter check (envChildDir == "" → skip) handles this. Good. -
The
oracle.gocomment forallowedStatesis excellent — it explains why the drop is one-directional and why a candidate no acknowledged mutation rules out stays allowed. This is the kind of comment that prevents future mis-tuning. Keep it.
Verification matrix
| Check | Result |
|---|---|
| Static review of all 10 files | Done |
| R1/R2/R3 fix tracing | Done — correct |
| "Fixes #612" removed from PR body | Confirmed |
| Independent test execution | Not done (see C1) |
| Same-shape SIGKILL/quota suite in repo | Not found |
| Author's prior similar PRs | Only #611 and #613 found |



Part of #612 — this PR lands the phase-1 layer only (fault-recovery safety + evidence); the Issue stays open for phases 2–4.
test(etcd): 设计并分阶段落地嵌入式 etcd 健壮性 E2E 方案 (run_id=736536d3)
Built by Orbi from Issue #612 · https://github.com/orbi-build/orbi