首批通过分布式安全可靠测评,为关键业务系统打造
OBServer 日志出现 store_rs_list_on_url call web service failed(ret=-4216 错误的原因
更新时间:2026-06-04 01:56
问题现象
OBServer 日志出现如下 ERROR:
[2022-02-13 00:02:28.866866] ERROR [SHARE] store_rs_list_on_url (ob_web_service_root_addr.cpp:389) [2697][646][Y0-0005D202C95D92F4] [lt=7] [dc=0] call web service failed(ret=-4216, json={ObRegion:obgcdsprd04,ObCluster:obgcdsprd04,ObRegionId:5,ObClusterId:5,Type:PRIMARY,timestamp:1644681746863598,RsList:[{address:xxx.xxx.xxx.xxx:2882,role:LEADER,sql_port:2881},{address:xxx.xxx.xxx.xxx:2882,role:FOLLOWER,sql_port:2881},{address:xxx.xxx.xxx.xxx:2882,role:FOLLOWER,sql_port:2881},{address:xxx.xxx.xxx.xxx:2882,role:FOLLOWER,sql_port:2881}
问题原因
OceanBase 定时向集群内参数 obconfig_url 设置的 URL 地址(该URL指向的服务由 OCP 管理)汇报自身的 RS 列表,出现上述 ERROR 说明 OceanBase 在通过 HTTP 协议调用该 URL 更新 RS 列表时超时,超时的原因常见的有:
- 可能因为网络问题,对应 OBServer 节点无法访问该 URL。
- 可能是由于 OCP 本身负载过大,处理 HTTP 请求比较缓慢,触发了 OceanBase 的超时机制。
适用版本
OceanBase 数据库 V2.x、V3.x 版本。
规避方法
调大集群参数 rpc_timeout 可缓解。