oceanbase / obdiag

obdiag (OceanBase Diagnostic Tool) is designed to help OceanBase users quickly gather necessary information and analyze the root cause of the problem.
https://www.oceanbase.com/docs/obdiag-cn
Mulan Permissive Software License, Version 2
138 stars 32 forks source link

[Enhancement]: obdiag check 巡检增加 glibc 版本检查项 #469

Closed askdb closed 3 weeks ago

askdb commented 3 weeks ago

Description

glibc 从 2.34 版本开始废弃了配置全局钩子变量,详见 glibc Release:

废弃的结果是运行期钩子直接失效,回退到原生接口。此时只要调用 malloc_usable_size,observer就会crash掉,因此建议在 obdiag 巡检项里新增 glibc 版本号的检查。

使用的命令: ldd --version

ldd (GNU libc) 2.17 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Teingi commented 3 weeks ago

👌

Teingi commented 3 weeks ago

需要关注一下不同操作系统的兼容性测试

Teingi commented 3 weeks ago

已完成,随obdiag 2.5.0 发布