transaction_not_ending

2025-11-28 06:05:02  Updated

Scenarios

You can use the obdiag rca run command to analyze the transaction_not_ending scenario based on internal table data and logs of OceanBase Database.

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 ~/.obdiag/config.yml file 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
phase Yes string "" The phase of the transaction. Valid values: UNSUBMITTED, COMMIT, and REPLAY.
tx_id Yes string "" The ID of the transaction.

Examples

Specify the scenario and the phase and ID of the transaction in the command.

obdiag rca run --scene=transaction_not_ending --env phase=UNSUBMITTED --env tx_id=0x1

Contact Us