Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

借鉴美团巡检系统经验,完善系统功能 #17

Open
okay456okay opened this issue Aug 6, 2022 · 1 comment
Open

借鉴美团巡检系统经验,完善系统功能 #17

okay456okay opened this issue Aug 6, 2022 · 1 comment

Comments

@okay456okay
Copy link

美团数据库巡检系统:https://tech.meituan.com/2020/06/04/mysql-detection-system.html
其中一些巡检项的确挺好的,比如备份、gtid、自增值等。这些是否可以慢慢完善?

@919927181
Copy link

InspectionItem\databaseProperty.go 第335行
// liyanjing2023-12-27,先判断是否为nil,若不判断则会报错 panic: interface conversion: interface {} is nil, not int64
if v["AUTO_INCREMENT"] != nil {
e["autoIncrement"] = strconv.Itoa(int(v["AUTO_INCREMENT"].(int64)))
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants