This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Closed
Conversation
Collaborator
Author
|
/run-all-tests |
1 similar comment
Collaborator
Author
|
/run-all-tests |
overvenus
pushed a commit
to overvenus/br-1
that referenced
this pull request
Dec 29, 2020
* config,restore: introduced `[mydumper] batch-size` Removed `[tikv-importer] batch-size` to avoid confusion. Removed `[mydumper] min-region-size` since it is useless now. * restore,mydump: pre-allocate engine IDs * restore: separate table checkpoints and engine checkpoints * importer: stop exposing the UUID * checkpoints: make checkpoint diff understand 1 table = many engines * checkpoints: make file checkpoints recognize multiple engines * checkpoints: migrated MySQL-based checkpoint to multi-engine as well * restore: adapt restore workflow for multi-engine * tests: added test case for multi-engine * *: fixed code * *: addressed comments * *: addressed comments * Support non-uniform batch size (pingcap#114) * mydump: non-uniform batch size * *: make the `batch-size-scale` configurable * *: implemented the optimized non-uniform strategy * tests: due to change of strategy, checkpoint_engines count becomes 4 again * mydump/region: slightly adjust the batch size computation * Use the exact result of 1/Beta(N, R) instead of an approximation * When the number of engines is small and the total engine size of the first (table-concurrency) batches exceed the table size, the last batch was truncated, and disrupt the pipeline. Now in these case we will reduce the batch size to avoid this disruption. * restore: log the SQL size and KV size of each engine for debugging * config: change default batch size and ratio given experiment result * config: added more explanation about batch-import-ratio Co-authored-by: Lonng <chris@lonng.org>
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.