This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
feat(bulk_load): meta server adds bulk load ingestion concurrent count restriction #829
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreverneverer
approved these changes
May 7, 2021
neverchanje
approved these changes
May 7, 2021
levy5307
approved these changes
May 7, 2021
hycdong
added a commit
that referenced
this pull request
May 7, 2021
hycdong
added a commit
that referenced
this pull request
May 25, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
2.2.0
component/bulk-load
type/config-change
PR that made modification on configs, which should be noted in release note.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To shorten all partitions ingestion total time, the pervious implementation didn't do any restrction when meta server sent ingestion request to primaries. However, ingestion will cost replica server lots of cpu, io resource, even affect cluster read/write performance. This pull request adds ingestion concurrent count in meta server, if the count is 4, the fifth ingestion request won't be sent to primary partition unless meta received one ingestion response. Besides, this count can be updated dynamically through http interface.
[meta_server] +bulk_load_ingestion_concurrent_count=4