rwadurian/backend
hailin 69de49a000 fix(android): 修复初次连接被误当成重连的bug
问题:
- waitForConnection() 在 channel 变成 READY 时无条件执行 reRegisterIfNeeded() 和 reSubscribeStreams()
- 导致初次连接时重复注册 party 和重复订阅事件流

修复:
- 使用 isReconnecting 标志区分初次连接和重连
- connect() 中确保 isReconnecting = false
- triggerReconnect() 设置 isReconnecting = true
- waitForConnection() 中先读取 isReconnecting 再重置,只有重连时才恢复流

添加详细日志用于调试:
- GrpcClient: connect(), doConnect(), waitForConnection(), triggerReconnect()
- TssRepository: registerParty(), restoreStreamsAfterReconnect(), onReconnectedCallback

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 04:07:26 -08:00
..
.claude refactor: simplify mpc-service to gateway mode 2025-12-06 17:16:14 -08:00
api-gateway fix(kong): remove ws/wss protocols from WebSocket route 2026-01-18 21:36:30 -08:00
infrastructure chore(docker): 为 mpc-system、api-gateway、infrastructure 添加时区配置 2025-12-23 18:35:09 -08:00
mpc-system fix(android): 修复初次连接被误当成重连的bug 2026-01-27 04:07:26 -08:00
scripts fix(scripts): 修正容器名为 rwa-blockchain-service 2025-12-15 10:34:25 -08:00
services fix(contribution-service): CDC planting_orders 阶段按 order_id 排序处理 2026-01-23 03:41:14 -08:00
.env.windows fix(referral): 修复 getMyReferralInfo 使用 userId 而不是 accountSequence 的问题 2025-12-14 05:05:03 -08:00
docker-compose.windows.yml feat(service-party-app): implement co-sign multi-party signing 2025-12-30 18:36:11 -08:00