Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During S3 backup, errors may occur if there is "/" at the end of the endpoint #30128

Closed
tongtongyin opened this issue Nov 24, 2021 · 2 comments
Closed
Labels
component/br This issue is related to BR of TiDB. duplicate Issues or pull requests already exists. severity/major type/bug The issue is confirmed as a bug.

Comments

@tongtongyin
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.

1

2

when S3 backup or restore, If "/" is added last in the endpoint, an error may occur

  1. What did you expect to see?

Whether "/" is added last, the backup can be successful

  1. What did you see instead?

  2. What version of BR and TiDB/TiKV/PD are you using?

br -4.0.11
br -5
The above problem occurs only when there is data in instance. Therefore, when br version is 4.0.11, this problem will not occur when backing up empty instances, because the system library will not be backed up; However, when the br version is 5, even for empty instances, Br the system library will be backed up during backup.

  1. Operation logs

    • Please upload br.log for BR if possible
    • Please upload tidb-lightning.log for TiDB-Lightning if possible
    • Please upload tikv-importer.log from TiKV-Importer if possible
    • Other interesting logs
  2. Configuration of the cluster and the task

    • tidb-lightning.toml for TiDB-Lightning if possible
    • tikv-importer.toml for TiKV-Importer if possible
    • topology.yml if deployed by TiUP
  3. Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus if possible

@kennytm kennytm transferred this issue from pingcap/br Nov 24, 2021
@kennytm kennytm added component/br This issue is related to BR of TiDB. type/bug The issue is confirmed as a bug. labels Nov 24, 2021
@kennytm
Copy link
Contributor

kennytm commented Nov 30, 2021

duplicate of #30104

@github-actions
Copy link

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

@kennytm kennytm added duplicate Issues or pull requests already exists. and removed needs-more-info labels Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/br This issue is related to BR of TiDB. duplicate Issues or pull requests already exists. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants