rwadurian/backend/mpc-system/services
hailin 8c3a299714 fix(service-party-app): joinSession 添加重试逻辑处理乐观锁冲突
问题:
- 多个参与方同时加入会话时会触发乐观锁冲突
- server-party 有重试逻辑可以成功重试
- service-party-app (Electron) 没有重试逻辑,直接失败
- 导致外部参与方无法成功加入 co_managed_keygen 会话

修复:
- joinSession 方法添加最多 3 次重试
- 支持重试的错误类型:optimistic lock、UNAVAILABLE、DEADLINE_EXCEEDED
- 使用指数退避 + 随机抖动避免重试风暴
- 抽取 doJoinSession 内部方法和 sleep 辅助方法

Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 13:47:51 -08:00
..
account fix(mpc-system): GetSessionStatus API 返回 threshold_t 和 threshold_n 2025-12-29 12:43:59 -08:00
message-router fix(mpc-system): GetSessionStatus 返回实际的 threshold_n 和 threshold_t 2025-12-29 11:59:53 -08:00
server-party fix(server-party): heartbeat during waitForAllParticipants 2025-12-29 13:04:40 -08:00
server-party-api fix(context): use parent context instead of Background() to allow proper cancellation 2025-12-06 06:36:34 -08:00
service-party-app fix(service-party-app): joinSession 添加重试逻辑处理乐观锁冲突 2025-12-29 13:47:51 -08:00
session-coordinator fix(session-coordinator): generate wildcard token for co_managed_keygen external participants 2025-12-29 13:35:05 -08:00
tss-wasm feat(admin-web): 添加 TSS WASM 集成,实现与 Service-Party-App 功能对等 2025-12-29 01:39:43 -08:00