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

7.0.0升级7.7.2,报了两个错误 #2336

Open
TotalAnnihilation opened this issue Dec 5, 2024 · 4 comments
Open

7.0.0升级7.7.2,报了两个错误 #2336

TotalAnnihilation opened this issue Dec 5, 2024 · 4 comments

Comments

@TotalAnnihilation
Copy link

Question and Steps to reproduce

今天升级7.7.2,重启服务报了两个错误,详见日志,请帮忙看看如何处理,谢谢

Relevant logs and configurations

Dec  5 17:01:12 ecs-nightingale n9e: #033[0m#033[31;1m[4810.160ms] #033[33m[rows:32590]#033[35m ALTER TABLE `alert_his_event` ADD `original_tags` text COMMENT 'labels key=val,,k2=v2'#033[0m
Dec  5 17:01:12 ecs-nightingale n9e: 2024-12-05 17:01:12.783355 ERROR ormx/ormx.go:67 #033[31;1m/home/runner/work/nightingale/nightingale/models/migrate/migrate.go:80 #033[35;1mError 1072: Key column 'last_eval_time' doesn't exist in table
Dec  5 17:01:12 ecs-nightingale n9e: #033[0m#033[33m[0.092ms] #033[34;1m[rows:0]#033[0m CREATE INDEX `idx_last_eval_time` ON `role_operation`(`last_eval_time`)
Dec  5 17:01:12 ecs-nightingale n9e: 2024-12-05 17:01:12.783383 ERROR migrate/migrate.go:81 failed to migrate table: Error 1072: Key column 'last_eval_time' doesn't exist in table

Version

7.7.2,centos7,x86

@UlricQin
Copy link
Member

UlricQin commented Dec 5, 2024

你这个日志怎么感觉串行了,role_operation 这个表原本也是不应该有 last_eval_time 字段的

@TotalAnnihilation
Copy link
Author

你这个日志怎么感觉串行了,role_operation 这个表原本也是不应该有 last_eval_time 字段的

这就是原始日志啊,不可能串行吧?

@CRISPpp
Copy link
Contributor

CRISPpp commented Dec 9, 2024

能复现吗,奇奇怪怪的嘞,role_operation 确实没有 last_eval_time

@TotalAnnihilation
Copy link
Author

能复现吗,奇奇怪怪的嘞,role_operation 确实没有 last_eval_time

无法复现,重新启动n9e看不到这个报错了

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

3 participants