Skip to content

v1.13.0

Choose a tag to compare

@erikwang2013 erikwang2013 released this 21 Oct 17:54
· 622 commits to main since this release

v1.13.0 — M9 同步强一致(sync 桶 / stretch 2×6 / 3-voter Raft 控制面)

主要变更

  • sync 桶:replication_mode=sync 的写入/删除远端优先——staging 明文 tee + 写 intent,远端 token PUT 确认同一 origin version id 后才本地提交;远端不可达 503,不自动降级。覆盖 PutObject、MPU Complete、Copy、DeleteObject/DeleteObjects/版本删除、lifecycle Expiration 与删桶 quiesce。
  • stretch 2×6:两数据站点 × 6 盘、EC 8+4、placement v2、Q_s=9、inline=0;单站点 6 槽不足即 fail-closed,不承诺站点容灾;与 sync 互斥。
  • Raft 控制面:openraft 0.9.25,A/B 数据站点 + C witness 三 voters(quorum 2);控制写单命令、确定性 apply、apply 后缓存/目录副作用、33 个守卫触发器与启动模式断言;follower 单跳转发。
  • 3-voter 运维:双边配对与 B′ 替换、witness 独立运行时、11 表逻辑快照/单事务安装、M7→Raft raft-cutover / raft-export / raft-force-recover、sync-reconcile [--repair]、console Raft 集群卡片。
  • 能力开关:RAFT_READY / SYNC_READY / STRETCH_READY 均为 true;production_ready 需 ≥3 voters。

验收证据(本机,HEAD 95df75c)

  • 七闸全绿:fmt、clippy、workspace lib 461、oss-server 集成 348、xl-* 446、web test 18、web build。
  • M9_STRICT=1 tests/e2e_m9.sh(sync 模式):71 PASS / 0 FAIL / 1 预期 SKIP。
  • tests/e2e_stretch.sh:ALL PASS。
  • tests/e2e_sites.sh(M7 回归):PASS。

已知边界

  • 尚有 S8/S9 残余:B′/cutover/repair 的专用多进程 e2e、11 表全量并发 diff、stretch+Raft 配对组合证据;Raft/site/mesh 传输仍为明文 HTTP/gRPC(仅受控私网)。
  • M7/standalone 路径保持原行为;不配置 [raft]/[stretch]/sync 桶时无需迁移。

完整变更见 v1.13.0 与 b160e08..HEAD。