-
Notifications
You must be signed in to change notification settings - Fork 101
Conversation
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.
This PR will also affect all non-BR users of this package. can you do we fix outside gcsStorage
? Especially not do the request inside objectName
since it affects all GCS calls not just "reading backupmeta"
You are right. Let me think |
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.
Please move compatibility code to a new package compat
.
/run-integration-tests |
2 similar comments
/run-integration-tests |
/run-integration-tests |
LGTM |
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
go.mod1
Outdated
@@ -38,3 +38,8 @@ require ( | |||
google.golang.org/grpc v1.27.1 | |||
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 | |||
) | |||
|
|||
replace ( | |||
cloud.google.com/go/storage => github.com/3pointer/google-cloud-go/storage v1.6.1-0.20210108125931-b59bfa0720b2 |
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.
(googleapis/google-cloud-go#3509 for future reference)
Co-authored-by: kennytm <kennytm@gmail.com>
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
/run-integration-test |
/run-all-tests |
/run-cherry-picker |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #688 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0-rc in PR #689 |
What problem does this PR solve?
solve #675
What is changed and how it works?
for case 1: add a check before Read & Write meta file, decide which prefix to use.
for case 2: check whether sst file is in Prefix(after #647) or in PrefixSlash(before #647), adjust proper prefix for TiKV request.
Check List
Tests
Related changes
Release Note