-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Labels
bugSomething isn't workingSomething isn't workingexternalmaybe some issue caused by dependencymaybe some issue caused by dependency
Description
场景描述(1、2、3、 4 正常,5-6有异议),步骤如下:
1.rocketMQ服务器正常运行
2.通过C接口的CPushConsumer对象连接服务器并订阅(连接和订阅成功)
3.通过mqshutdown 停止broker和namesrv
4.查看日志,发现库在的socket一直在循环尝试重新连接(大约1分钟内一直重复try to connect、invokeAsync failed、pullMessageAsync failed of addr、eventcb: received error 、can not connect to server、disconnect等重连操作)
5.超过一段时间(本机是1分钟左右)后,就停止重连操作了(最后卡在“disconnect:10.110.9.100:10911 start. event:0x7f6eac007c20[disconnect:135]”上,没有相应的:disconnect:10.110.9.100:10911 completely[disconnect:138],之后也没有try to connect等操作)
6.重新启动rocketMQ服务器,客户端也同样无法连接
注:部分连接参数设置:
m_tcpConnectTimeout = 400;
m_tcpTransportTryLockTimeout = 3;
7025_rocketmq-cpp.log.zip为日志文件
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingexternalmaybe some issue caused by dependencymaybe some issue caused by dependency