Join Slack
Powered by
How do I debug a transaction failure? I am using t...
# questions-and-troubleshooting
c
Chung WONG
10/02/2025, 5:41 AM
How do I debug a transaction failure? I am using the Rust crate Sqlx to begin a transaction and somehow StarRocks didn't return a proper packet and hence invalid Status 1. Packet 0
https://github.com/launchbadge/sqlx/blob/main/sqlx-mysql/src/connection/executor.rs#L188
2. No status matched
https://github.com/launchbadge/sqlx/blob/main/sqlx-mysql/src/protocol/response/status.rs#L5
How do I found out the actual cause from StarRocks?
r
Robert Raharjo
10/07/2025, 12:36 AM
On the StarRocks end, you can turn on the debug log via fe and be config file
https://docs.starrocks.io/docs/administration/management/BE_configuration/#sys_log_verbose_level
https://docs.starrocks.io/docs/administration/management/FE_configuration/#sys_log_level
c
Chung WONG
10/07/2025, 12:36 AM
Thanks, let me try
Open in Slack
Previous
Next