br
br copied to clipboard
log_restore: refactor write and ingest logic. (#645)
cherry-pick #645 to release-4.0 You can switch your code base to this Pull Request by using git-extras:
# In br repo:
git pr https://github.com/pingcap/br/pull/729
After apply modifications, you can push your change to this PR via:
git push [email protected]:ti-srebot/br.git pr/729:release-4.0-d87292ca02cb
What problem does this PR solve?
Both Lightning and BR have a similar logic. write and ingest kv as well as retry policy. This abstract Ingest method for BR and Lightning easy to use.
What is changed and how it works?
- Refactor write and ingest code from log_client to
Ingestser
.
Check List
Tests
- No code
Related changes
- Need to cherry-pick to the release branch
Release Note
- No release note.
/lgtm
/rebuild
/run-all-tests
@ti-srebot: PR needs rebase.
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.
@3pointer Do we still need to cherry-pick this PR to release-4.0
?