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

[Feature]: observer节点 clog盘满根因分析 #64

Closed Teingi closed 5 months ago

Teingi commented 11 months ago

Describe your use case

对于分区数多、写入压力大的集群,如果转储慢(卡住)、或者租户unit规格异构,那么可能导致部分副本的clog回收不及时导致盘空间达到95%,此时observer会自动停写,这样这台机器上会有大量副本不同步。

这种场景下如何分析是需要很多专业知识的。

Describe the solution you'd like

希望obdiag工具可以支持一键分析clog盘满的根因,给出原因以及解决办法

Describe alternatives you've considered

No response

Additional context

No response

Teingi commented 5 months ago

MR: https://github.com/oceanbase/obdiag/pull/227