Scenarios
You can use the obdiag rca run command to analyze the transaction_other_error scenario based on internal table data and logs of OceanBase Database. Possible error codes include -4030, -4121, -4122, -4124, and -4019.
OceanBase Database V4.0.0.0 and later are supported for this feature. When you use obdiag commands, you must configure cluster information in the config.yml file stored in the ~/.obdiag directory or by specifying --config options in the commands.
Notice
Internal data is updated in real time. Therefore, obdiag only supports the analysis of current data.
Supported environment variables
| Variable | Required? | Data type | Default value | Description |
|---|---|---|---|---|
| error_code | Yes | string | "" | The error code. Valid values are -4030, -4121, -4122, -4124, and -4019. |
Examples
Specify the scenario and error code in the command.
obdiag rca run --scene=transaction_not_ending --input_parameters='{"error_code":" -4121"}'