zhx
|
02117bca4c
|
fix: robot orchestrator 只运行本节点持有 lease 的机器人房
机器人房写命令间隔常大于 lease TTL(10s),双节点 orchestrator 无差别
起全量 runtime 导致互相抢占 ownership,跨节点命令全天 CONFLICT 刷屏,
礼物恢复 worker 在非 owner 节点把 pending saga 误标 compensated (~200/h)。
- startRobotRoomRuntime 启动前经 EnsureOwner 认领 lease,非 owner 跳过
- 每个 runtime 增加 lease keeper 按 TTL/3 主动续租,发现执行权被接管立即停止本地循环
- startActiveRobotRooms 改为 reconcile:lease 迁走或配置停用的房间停掉本地残留 runtime
- 礼物恢复 worker 先查房间归属,归他人时释放 claim 让 owner 节点结算
- 跨节点 ownership 冲突不再进入 compensated 终态,改走 retry(pending 不保证钱包未扣款)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
2026-07-13 00:10:53 +08:00 |
|
zhx
|
8d8fb77df9
|
修复短房号入房和麦心跳恢复
|
2026-07-07 19:43:39 +08:00 |
|
zhx
|
a328b2bfef
|
修复房间问题
|
2026-07-07 18:28:50 +08:00 |
|
zhx
|
e71194ad25
|
用户邀请
|
2026-06-30 10:27:29 +08:00 |
|
zhx
|
b49a2109c7
|
Fix databi statistics dimensions and backfill
|
2026-06-08 12:01:55 +08:00 |
|
zhx
|
8fe09044d3
|
房间踢人列表增加
|
2026-05-29 11:59:57 +08:00 |
|
ZuoZuo
|
63727649a6
|
feat: 完善房间管理能力
|
2026-05-14 00:25:02 +08:00 |
|
zhx
|
1e542ba563
|
新增部署相关
|
2026-05-12 21:51:39 +08:00 |
|
zhx
|
8955a0d118
|
明确comand_id语义
|
2026-05-12 20:07:49 +08:00 |
|
ZuoZuo
|
b449737bd0
|
模块化拆分
|
2026-05-12 09:53:20 +08:00 |
|
zhx
|
15760a55c2
|
完善接口流程
|
2026-05-06 21:22:39 +08:00 |
|
local
|
975d21a63a
|
完善房间状态
|
2026-05-06 00:30:22 +08:00 |
|
ZuoZuo
|
199ced57fc
|
完善整体功能
|
2026-05-02 13:02:38 +08:00 |
|
ZuoZuo
|
15e952a244
|
房间功能完善
|
2026-04-27 02:29:42 +08:00 |
|