Skip to content

Commit

Permalink
add param value for 'tidb_replica_read' (#3122) (#3171)
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
ti-srebot authored Jul 6, 2020
1 parent 865a7fa commit c2166e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions follower-read.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ The Follower Read feature refers to using any follower replica of a Region to se
## Usage

To enable TiDB's Follower Read feature, set the value of the `tidb_replica_read` session variable to `follower` or `leader-and-follower`:
To enable TiDB's Follower Read feature, modify the value of the `tidb_replica_read` session variable:

{{<copyable "sql">}}

```sql
set @@tidb_replica_read = 'follower';
set @@tidb_replica_read = '<target value>';
```

Scope: SESSION
Expand Down

0 comments on commit c2166e9

Please sign in to comment.