-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
顶号操作疑似bug #334
Comments
|
调用方是同步,但是看执行方,也就是对外服是异步的 |
@OverRide
|
这的确是有概率触发并发问题,如下述代码可能会将新添加的移除,从而引发问题。 Lines 132 to 134 in 0265197
|
已修复,请使用 dev 分支尝试 Lines 132 to 135 in 261f472
|
好的,我试下, 现在的问题就是客户端持有的socket与服务端对应的socket不是同一个 |
那还有没有这样的并发问题, 就是客户端两个socket同时连过来, 那么在第一步代码ExternalCommunicationKit.forcedOffline(userId);删除历史绑定时, 谁也没删除谁, |
按示例文档提示, 第一行代码是关闭现在已连接用户通道, 再绑定现有的连接, 但是看源码, 第一步是走的异步, 那第一步和第二步如果并发冲突后, 会不会第一步的杀通道, 把自己当前连接干掉
The text was updated successfully, but these errors were encountered: