Skip to content

Commit

Permalink
fix typo (#355)
Browse files Browse the repository at this point in the history
Co-authored-by: Connor <[email protected]>
  • Loading branch information
Smith-Cruise and Connor1996 authored Dec 22, 2021
1 parent 8b8fdd5 commit a2b934b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/raftstore/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func CheckRegionEpoch(req *raft_cmdpb.RaftCmdRequest, region *metapb.Region, inc
// We must check epochs strictly to avoid key not in region error.
//
// A 3 nodes TiKV cluster with merge enabled, after commit merge, TiKV A
// tells TiDB with a epoch not match error contains the latest target Region
// tells TiDB with an epoch not match error contains the latest target Region
// info, TiDB updates its region cache and sends requests to TiKV B,
// and TiKV B has not applied commit merge yet, since the region epoch in
// request is higher than TiKV B, the request must be denied due to epoch
Expand Down

0 comments on commit a2b934b

Please sign in to comment.