Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ This variable is an alias for [`last_insert_id`](#last_insert_id).
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
- Type: Integer
- Default value: `50`
- Range: `[1, 3600]`
- Range: `[1, 1073741824]`
- Unit: Seconds
- The lock wait timeout for pessimistic transactions (default).

Expand Down
2 changes: 1 addition & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,7 @@ For pessimistic transaction usage, refer to [TiDB Pessimistic Transaction Mode](

### `wait-for-lock-timeout`

- The longest time that a pessimistic transaction in TiKV waits for other transactions to release the lock. If the time is out, an error is returned to TiDB, and TiDB retries to add a lock. The lock wait timeout is set by `innodb_lock_wait_timeout`.
- The longest time that a pessimistic transaction in TiKV waits for other transactions to release the lock. If the time is out, an error is returned to TiDB, and TiDB retries to add a lock. The lock wait timeout is set by [`innodb_lock_wait_timeout`](/system-variables.md#innodb_lock_wait_timeout).
- Default value: `"1s"`
- Minimum value: `"1ms"`

Expand Down