pingcap / br

A command-line tool for distributed backup and restoration of the TiDB cluster data
https://pingcap.com/docs/dev/how-to/maintain/backup-and-restore/br/
Apache License 2.0
124 stars 102 forks source link

BR: confused wrong region error #949

Open cyliu0 opened 3 years ago

cyliu0 commented 3 years ago

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error. br restore from an non-exist region on S3

  2. What did you expect to see? incorrect region error info

  3. What did you see instead? Error: Bucket tools-uw2 is not accessible: MissingEndpoint: 'Endpoint' configuration is required for this service

This error info is from S3 service. But users might think if --s3.endpoint is required.

  1. What version of BR and TiDB/TiKV/PD are you using?
$ ./bin/br -V
Release Version: v5.0.0-master
Git Commit Hash: fa66494bcf9395016b7847fecddd7e83478af27a
Git Branch: master
Go Version: go1.16.2
UTC Build Time: 2021-03-28 02:36:16
Race Enabled: false
  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

cyliu0 commented 3 years ago

/label severity/minor

ti-chi-bot commented 3 years ago

@cyliu0: The label(s) severity/minor cannot be applied. These labels are supported: Hacktoberfest, duplicate, good first issue, invalid, needs-cherry-pick-3.1, needs-cherry-pick-4.0, needs-cherry-pick-5.0, needs-cherry-pick-5.0-rc, question, release-blocker, wontfix.

In response to [this](https://github.com/pingcap/br/issues/949#issuecomment-808837611): >/label severity/minor Instructions for interacting with me using PR comments are available [here](https://prow.tidb.io/command-help). If you have questions or suggestions related to my behavior, please file an issue against the [ti-community-infra/tichi](https://github.com/ti-community-infra/tichi/issues/new?title=Prow%20issue:) repository.