forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the KV-Encode and Deliver-to-Importer concurrent; Turn the old m…
…etrics into real Prometheus metrics (pingcap#88) * *: replace the ad-hoc common.metrics by prometheus For now we do not distinguish between tables. The 4 old metrics are replaced by 6 new histograms. * restore: move the delivery into its own goroutine to parallelize it This should increase the performance by 30%. * tests: retain the logs after running * restore: apply backpressure on KV-Encoding to prevent OOM * restore: print the duration needed for import + cleanup * metric, restore: record checksum durations * restore: limits the size of each Put() message to 31 MB Prevents the gRPC ResourceExhausted error on caused by importer's MaxRecvSize. * restore: don't print time taken when import failed * restore: fix missing error check
- Loading branch information
Showing
5 changed files
with
272 additions
and
130 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.