Skip to content

Commit 382a10d

Browse files
Update text/0081-truncate.md
Co-authored-by: Lei Zhao <[email protected]>
1 parent 07b8462 commit 382a10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0081-truncate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ There are several steps to follow when doing truncate:
4444

4545
### 1. Wait all committed raft log are applied
4646

47-
We can just polling each region's `RegionInfo` in a method similar with [`Debugger::region_info`](https://github.com/tikv/tikv/blob/789c99666f2f9faaa6c6e5b021ac0cf7a76ae24e/src/server/debug.rs#L188) does, and wait for `commit_index` to be equal to `apply_index`.
47+
We can just polling each region's `RegionInfo` in a method similar with [`Debugger::region_info`](https://github.com/tikv/tikv/blob/789c99666f2f9faaa6c6e5b021ac0cf7a76ae24e/src/server/debug.rs#L188) does, and wait for `apply_index` to be equal to `commit_index`.
4848

4949
### 2. Clean WriteCF and DefaultCF
5050

0 commit comments

Comments
 (0)