br
br copied to clipboard
A command-line tool for distributed backup and restoration of the TiDB cluster data
From BR's heap profile, we find there a lot of memory is consumed by `json.Marshal` and `json.Unmarshal`, we need to find out why and reduce memory. https://gist.github.com/overvenus/4491e987dca672fd62705d29bb254d03
After #665, BR repo contains both BR code and TiDB-Lightning code. There are some packages are very similar, they should be unified to reduce duplicate code and improve maintenance efficiency....
## Feature Request Check [this](https://github.com/pingcap/tidb/blob/master/session/session.go#L117-L118) and [this](https://github.com/pingcap/tidb/pull/22644/files#diff-393ad02ee995f1a6d0d1830c5cd1dac91753dce3e7c6061ccac392507dbb8028R406). Try to switch to `ParseWithParams+ExecuteStmt` if SQLs of BR are seen as normal SQLs, otherwise switch to `ExecuteInternal`. ### Describe your feature request...
## Feature Request ### Describe your feature request related problem: Some API from TiDB only read configurations from global config, so if we want to use these API, the only...
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 cdclog --pd=http://10.142.99.8:2379 --start-ts=422756483571646465 --end-ts=422756525015040000 -s...
Please answer these questions before submitting your issue. Thanks! 1. What did you do? If possible, provide a recipe for reproducing the error. restore data and check the empty region...
## Feature Request ### Describe your feature request related problem: In https://github.com/pingcap/tidb-operator/issues/2277, the user reports the issue that if TLS is enabled for remote storage, such as MinIO, the backup...
1. What did you do? Remove all invokes to `splitPrepareWork` and `splitPostWork`, run test `br_db_online_newkv`. 2. What did you expect to see? Test should fail, since we didn't schedule restoring...
Unlike S3, there aren't much third-party GCS-compatible services on the wild, and the clients either does not support customized endpoint or the support is broken. As of 4.0.0-rc.1, the GCS...
Please answer these questions before submitting your issue. Thanks! 1. What did you do? run integration test `br_ddl_full`. 2. What did you expect to see? The test passes in acceptable...