update lightning&br version to v4.0.2 #2865
Merged
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.
What problem does this PR solve?
Resolve #2817.
Current lightning doesn't support auto random.
What is changed and how does it work?
local-up-operator.sh
to support using local backup image.Check List
Tests
test with different tidb cluster versions to check whether br/lightning support
auto random
. Tested versions are v3.1.0, v3.1.2, v4.0.0, v4.0.1For lightning, all versions can import data both with auto_random and without auto_random successfully.
For br, br can't restore v3.1.0 cluster(I think this is a known issue). The other versions are ok.
Related changes
Does this PR introduce a user-facing change?: