-
Notifications
You must be signed in to change notification settings - Fork 279
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
[Bug]: Error occurred when upgrading CN #20747
Comments
内核的log是在哪? @DanielZhangQD |
@daviszhen 帮忙看一下吧 |
这个错误信息 sql: transaction has already been committed or rolled back 来自 Go 语言标准库中的 database/sql 包,具体是 ErrTxDone 错误。这个错误的含义是:你试图在一个已经提交或回滚的事务上执行操作(比如调用 Exec、Commit 或 Rollback),但是事务对象已经处于“已完成”的状态,不能再进行操作。 错误产生的原因: 错误发生的常见场景:
|
通过分析,导致transaction has already been committed or rolled back错误是由于mo内部cn-service.lockservice报错导致, CN 日志:根据statement_id找到对应的CN SQL日志, 并获取对应事务ID 获取CN事务操作日志: |
@iamlinjunhong 帮忙看一下 |
fixed |
Is there an existing issue for the same bug?
Branch Name
2.0-dev
Commit ID
v2.0.1-64e4751dc-2024-12-12
Other Environment Information
Actual Behavior
The following errors are reported in application when upgrading CN:
Detailed application logs are available in https://grafana.matrixonecloud.cn/goto/ahr8LkIHg?orgId=1
Expected Behavior
No error returns
Steps to Reproduce
Additional information
Cloud prod
The text was updated successfully, but these errors were encountered: