Skip to content

Commit

Permalink
Update transaction-isolation-levels.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ran <huangran@pingcap.com>
  • Loading branch information
TomShawn and ran-huang committed Mar 28, 2022
1 parent d1f6e13 commit 7efe88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction-isolation-levels.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Starting from v6.0.0, TiDB supports using the [`tidb_rc_read_check_ts`](/system-
- If TiDB does not encounter any data update during the read process, it returns the result to the client and the `SELECT` statement is successfully executed.
- If TiDB encounters data update during the read process:
- If TiDB has not yet sent the result to the client, TiDB tries to acquire a new timestamp and retry this statement.
- If TiDB has already sent some data to the client, TiDB reports an error to the client. The amount of data sent to the client is controlled by `tidb_init_chunk_size` and `tidb_max_chunk_size`.
- If TiDB has already sent partial data to the client, TiDB reports an error to the client. The amount of data sent to the client each time is controlled by `tidb_init_chunk_size` and `tidb_max_chunk_size`.

In scenarios where the `READ-COMMITTED` isolation level is used, the `SELECT` statements are many, and read-write conflicts are rare, enabling this variable can avoid the latency and cost of getting the global timestamp.

Expand Down

0 comments on commit 7efe88f

Please sign in to comment.