首批通过分布式安全可靠测评,为关键业务系统打造
RS 日志大量报错:4388 unexpected internal error happen.. file="ob_malloc_allocator.cpp"-4388 invalid tenant id
更新时间:2025-05-07 11:01
问题现象
业务集群大量报错:4388 unexpected internal error happen.. file="ob_malloc_allocator.cpp"
报错 rootservice.log 日志内容如下。
ERROR issue_dba_error (ob_log.cpp:1868) [336758][DDLQueueTh0][T0][xxxxx-xxxxx-xxxxx-xxxxx] [lt=10][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=0, file="ob_malloc_allocator.cpp", line_no=107, info="invalid tenant id")
EDIAG [LIB] alloc (ob_malloc_allocator.cpp:107) [336758][DDLQueueTh0][T0][xxxxx-xxxxx-xxxxx-xxxxx] [lt=4][errcode=0] invalid tenant id(attr.tenant_id_=0) BACKTRACE:0x113b7e05 0x6ab8be9 0x4d6acd4 0x6ab8954 0x6ab0bf1 0x6ac32a6 0x4c10a27 0x917a96d 0x1237801a 0x1237a64d 0xfa4dc53 0x98d805c 0x999e903 0xc9893b1 0xc98a39b 0x4d277d6 0x1105b685 0x11098d54 0xf81c5df 0xf847a69 0xf88e413 0xf881ca0 0xf03ca8d 0xf03b4ba 0x824930b 0x824eadf 0x824e750 0x811e4d5 0x814cc04 0x8b8a58d 0x9a5f146 0x4d220aa 0x1243c63f 0x1243d8b9 0x1243de59 0x11a55721 0x11a51ce2 0x7f9b9e014ea5 0x7f9b9dd3d96d
ERROR issue_dba_error (ob_log.cpp:1868) [336758][DDLQueueTh0][T0][xxxxx-xxxxx-xxxxx-xxxxx] [lt=8][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=0, file="ob_malloc_allocator.cpp", line_no=107, info="invalid tenant id")
问题原因
日志误报。
问题的风险及影响
仅出现 OCP 告警,无业务反馈错误。
影响的版本
OceanBase 数据库 V4.2.1 BP2(oceanbase-4.2.1.2-102010012023120119)版本。
解决方案
升级至问题已修复版本。目前已修复的版本包括 OceanBase 数据库 V4.2.1 GA(oceanbase-4.2.1.0-100000182023092722)之后最新小版本、V4.2.2 GA(oceanbase-4.2.2.0-100000082024011317)之后最新小版本、V4.3.0(oceanbase-4.3.0.0-100000072024020200)之后最新小版本。
如果在 OceanBase 数据库 V4.2.1 BP2(oceanbase-4.2.1.2-102010012023120119)版本、V4.2.2 GA(oceanbase-4.2.2.0-100000082024011317)版本、V4.3.0.0(oceanbase-4.3.0.0-100000072024020200)版本中的 rootservice.log 日志出现如下日志内容,可以忽略报错。
EDIAG [LIB] alloc (ob_malloc_allocator.cpp:107) [336758][DDLQueueTh0][T0][YB42AC132334-0006104D4A8E5BEC-0-0] [lt=4][errcode=0] invalid tenant id(attr.tenant_id_=0)