This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Conversation
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
kennytm
reviewed
Jul 30, 2020
kennytm
reviewed
Aug 18, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(let's block this until #366 is merged)
lightning/config/config.go
Outdated
return errors.Annotatef(err, "covert data-source-dir '%s' to absolute path failed", cfg.Mydumper.SourceDir) | ||
} | ||
cfg.Mydumper.SourceDir = fmt.Sprintf("file://%s", absPath) | ||
u, err = url.Parse(cfg.Mydumper.SourceDir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
u, err = url.Parse(cfg.Mydumper.SourceDir) | |
u.Path = absPath | |
u.Scheme = "file" |
3pointer
reviewed
Aug 27, 2020
kennytm
reviewed
Aug 28, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
kennytm
reviewed
Sep 3, 2020
/run-all-tests |
LGTM |
/run-all-tests |
2 similar comments
/run-all-tests |
/run-all-tests |
3pointer
approved these changes
Sep 4, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
kennytm
added
the
Should Update Docs
Should update docs after this PR is merged. Remove this label once the docs are updated
label
Sep 4, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
feature/accepted
feature-request
This issue is a feature request
Should Update Docs
Should update docs after this PR is merged. Remove this label once the docs are updated
status/LGT1
One reviewer already commented LGTM (LGTM1)
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?
Support restore data files from s3 storage
close #69
Related change in br: pingcap/br#446
What is changed and how it works?
Replace the direct file IO by ExternalStorage interface and share the storage implements from br.
Check List
Tests
Side effects
Related changes