已关闭
[Bug-Report|缺陷反馈]: memcache故障场景,2P 2D,client端销毁重建链,重建链失败,server端白名单配额耗尽 #829
lizhuolong创建于  25 天前关闭于  11 天前
lizhuolong
lizhuolong
25 天前 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

memcache池化故障场景,server端调用HcommChannelDestroy,进程保留,client端进程退出;随后发起重建链:
二次D2D建链UB状态机推动建链,socket获取异步接口结果失败,报错对端socket关闭,发现关闭原因为server端在channel destory时没有释放socket资源,导致白名单配额不可用,需要在HcommChannelDestroy中加上socket资源销毁

Environment / 环境信息 (Mandatory / 必填)

950PR Server

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

memcache池化故障场景,server端调用HcommChannelDestroy,进程保留,client端进程退出;随后发起重建链

Describe the expected behavior / 预期结果 (Mandatory / 必填)

memcache池化故障场景,server端调用HcommChannelDestroy,进程保留,client端进程退出;随后发起重建链,重建链成功

[WARNING] HCCP(1938,python3):2026-09-01-15:11:08.316.847 [ra_hdc_async_socket.c:168]tid:2001,RaHdcAsyncHandleSocketRecv : [recv][ra_hdc_socket]socket has been closed. received_size is 0
[INFO] HCCP(1938,python3):2026-09-01-15:11:08.317.851 [ra_host.c:1838]tid:1981,ConverReturnCode : ConverReturnCode: orig_errcode[-261] curr_errcode[128207]
[ERROR] HCCL(1938,python3):2026-09-01-15:11:08.317.858 [orion_adapter_hccp.cc:1964][1981][HrtRaGetAsyncReqResult] failed, the asynchronous request error[128207], reqhandle[281462898297200].
[ERROR] HCCL(1938,python3):2026-09-01-15:11:08.319.994 [ub_mem_transport.cc:460][1981]Exception occurred: Network api exception: [HrtRaGetAsyncReqResult] failed, the asynchronous request error[128207], reqhandle[281462898297200].

Special notes for this issue/备注 (Optional / 选填)

likedislike
CANN-robot
CANN-robot成员
25 天前 评论:

Notice

This issue can not be assigned to LQ_OY. Please try to assign to the repository members.

likedislike
CANN-robotCANN-robot成员
25 天前 将 JC_TJC 设为负责人
LLeewis成员
25 天前 issue类型由 任务 改变为 缺陷
LQ_oy
LQ_oy成员
25 天前 评论:

关联PR:https://gitcode.com/cann/hcomm/pull/5004
预计上库时间:2026年9月4日

likedislike
Leewis成员
25 天前 评论:

/assign @LQ_OY

likedislike
CANN-robotCANN-robot成员
25 天前 将 LQ_OY 设为负责人,移除负责人 JC_TJC
LQ_oyLQ_oy成员
25 天前 关联了pull request:[bugfix]for oneside communication destory channel and socket resource
LLeewis成员
24 天前 关联了看板:HCOMM
LQ_oyLQ_oy成员
24 天前 关联了pull request:[bugfix]for memcache destory channel and socket resource
Leewis成员
11 天前 评论:

https://gitcode.com/cann/hcomm/pull/5004 对应PR已修改上库;

likedislike
LLeewis成员
11 天前 issue状态由 待办的 改变为 已解决
LLeewis成员
11 天前 关闭了 issue
LLeewis成员
10 天前 移除了看板:HCOMM