-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tikv: add new config raftstore.apply-yield-write-size
#11831
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
waiting for tikv/tikv#13594 to be merged first. |
19181ab
to
5f74bc8
Compare
@BusyJay PTAL, thanks |
dynamic-config.md
Outdated
@@ -150,6 +150,7 @@ show warnings; | |||
| raftstore.merge-check-tick-interval | 触发 Merge 完成检查的时间间隔 | | |||
| raftstore.cleanup-import-sst-interval | 触发检查过期 SST 文件的时间间隔 | | |||
| raftstore.local-read-batch-size | 一轮处理读请求的最大个数 | | |||
| raftstore.apply-yield-msg-size | Apply 线程一轮处理单个状态机写请求的最大数据量 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其实这个名字已经不太恰当了。因为现在已经调成了 batch size,也就是名字应该是 apply-yield-write-size,含义是单个状态机在 apply 线程持续写入的最大数据量,这是个软限制。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
raftstore.apply-yield-msg-size
raftstore.apply-yield-write-size
/hold waiting for tikv/tikv#13594 to be merged first. |
tikv-configuration-file.md
Outdated
### `apply-yield-write-size` <span class="version-mark">从 v6.4.0 版本开始引入</span> | ||
|
||
+ 单个状态机在 Apply 线程持续写入的最大数据量,这是个软限制。 | ||
+ 默认值:32KB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ 默认值:32KB | |
+ 默认值:32KiB | |
+ 单位: |
补充单位的信息
dynamic-config.md
Outdated
@@ -150,6 +150,7 @@ show warnings; | |||
| raftstore.merge-check-tick-interval | 触发 Merge 完成检查的时间间隔 | | |||
| raftstore.cleanup-import-sst-interval | 触发检查过期 SST 文件的时间间隔 | | |||
| raftstore.local-read-batch-size | 一轮处理读请求的最大个数 | | |||
| raftstore.apply-yield-write-size | 单个状态机在 apply 线程持续写入的最大数据量 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| raftstore.apply-yield-write-size | 单个状态机在 apply 线程持续写入的最大数据量 | | |
| raftstore.apply-yield-write-size | 单个状态机在 Apply 线程持续写入的最大数据量 | |
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Grace Cai <qqzczy@126.com>
dynamic-config.md
Outdated
@@ -150,6 +150,7 @@ show warnings; | |||
| raftstore.merge-check-tick-interval | 触发 Merge 完成检查的时间间隔 | | |||
| raftstore.cleanup-import-sst-interval | 触发检查过期 SST 文件的时间间隔 | | |||
| raftstore.local-read-batch-size | 一轮处理读请求的最大个数 | | |||
| raftstore.apply-yield-write-size | 单个状态机在 Apply 线程持续写入的最大数据量 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| raftstore.apply-yield-write-size | 单个状态机在 Apply 线程持续写入的最大数据量 | | |
| raftstore.apply-yield-write-size | Apply 线程在单个状态机上能持续写入的最大数据量 | |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: dc02279
|
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?