Skip to content

Commit 04c20b1

Browse files
authored
tikv: the calculation of raft-log-gc-count-limit should be based on 1 KiB instead of 1 MiB (#21966)
1 parent de8c0a3 commit 04c20b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tikv-configuration-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ Configuration items related to Raftstore.
762762
### `raft-log-gc-count-limit`
763763

764764
+ The hard limit on the allowable number of residual Raft logs
765-
+ Default value: the log number that can be accommodated in the 3/4 Region size (calculated as 1MiB for each log)
765+
+ Default value: the number of logs that can fit into three-fourths of the Region size, calculated assuming each log is 1 KiB
766766
+ Minimum value: `0`
767767

768768
### `raft-log-gc-size-limit`

0 commit comments

Comments
 (0)