Feature Description
Determines which transaction to roll back when a deadlock occurs.
When set to WRITE_LEAST, the system preferentially selects the transaction with the least amount of data written for rollback.
When set to START_LATEST, the system preferentially selects the transaction that was started later for rollback.
It is recommended to set this parameter via the console to ensure synchronized configuration changes across all nodes. Only the parameter value on the node responsible for deadlock detection actually affects the behavior of selecting transactions to roll back, while the parameter value on other nodes does not affect this behavior.
Attribute Description
|
Parameter Type | ENUM |
Default Value | WRITE_LEAST |
Value Range | START_LATEST WRITE_LEAST |
Effective Scope | GLOBAL |
Restart Required | No |