Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

refactor: make read batch size of fds configurable #584

Merged
merged 6 commits into from
Aug 6, 2020

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented Aug 5, 2020

The read batch size of fds is limited to 1MB now. But it may limit the read speed of fds. So in this pull request, I add a configration for it.

###New-Config

[replication]
+ fds_read_batch_size = 100

@levy5307 levy5307 marked this pull request as draft August 5, 2020 05:58
@levy5307 levy5307 added the type/config-change PR that made modification on configs, which should be noted in release note. label Aug 5, 2020
@levy5307 levy5307 marked this pull request as ready for review August 6, 2020 07:14
@hycdong hycdong merged commit b55e081 into XiaoMi:master Aug 6, 2020
@levy5307 levy5307 deleted the fds-batch-config branch August 6, 2020 08:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.2.0 type/config-change PR that made modification on configs, which should be noted in release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants