br: create database by db pool (#50771)
This is an automated cherry-pick of #50771
What problem does this PR solve?
Issue Number: close #50767
Problem Summary: br restore is very slowly if there are many databases(2000+)
What changed and how does it work?
create database by db pool
Check List
Tests
- [x] Unit test
- [x] Integration test
- [x] Manual test (add detailed scripts or steps below)
40 minutes -> 5 minutes
- [ ] No need to test
- [ ] I checked and no code files have been changed.
Side effects
- [ ] Performance regression: Consumes more CPU
- [ ] Performance regression: Consumes more Memory
- [ ] Breaking backward compatibility
Documentation
- [ ] Affects user behaviors
- [ ] Contains syntax changes
- [ ] Contains variable changes
- [ ] Contains experimental features
- [ ] Changes MySQL compatibility
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
None
/retest
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Leavrth, YuJuncen
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [Leavrth,YuJuncen]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
[LGTM Timeline notifier]
Timeline:
/hold
Codecov Report
:exclamation: No coverage uploaded for pull request base (
release-6.5@2ec7e32). Click here to learn what that means. The diff coverage is56.5217%.
Additional details and impacted files
@@ Coverage Diff @@
## release-6.5 #51026 +/- ##
================================================
Coverage ? 73.6546%
================================================
Files ? 1095
Lines ? 350946
Branches ? 0
================================================
Hits ? 258488
Misses ? 75855
Partials ? 16603
This cherry pick PR is for a release branch and has not yet been approved by triage owners.
Adding the do-not-merge/cherry-pick-not-approved label.
To merge this cherry pick:
- It must be approved by the approvers firstly.
- AFTER it has been approved by approvers, please wait for the cherry-pick merging approval from triage owners.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.