Technical Consultation: Does BR Backup Fetch Data from the TiKV Cluster from the Leader or from All Regions?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 技术咨询:BR备份从TiKV集群搂数据,是从leader搂还是所有region中都搂

| username: TiDBer_yyy

[TiDB Usage Environment] Production Environment
[TiDB Version] 7.1.0

Question:
When BR backs up data from the TiKV cluster, does it pull data from the leader or from all peers?

Official documentation states: It retrieves TiKV and region information from the snapshot of the TiKV cluster and pulls data to storage;

| username: 饭光小团 | Original post link

Leader slot, as I remember.

| username: TiDBer_yyy | Original post link

Is there any relevant technical documentation? I feel it should also be on the leader.

| username: 像风一样的男子 | Original post link

Pulled from the leader, the documentation is very clear.

image

| username: TiDBer_yyy | Original post link

Thank you, thank you.
I still didn’t see it clearly. :hot_face:

| username: 这里介绍不了我 | Original post link

Only Leader

| username: chenhanneu | Original post link

Special case:


Read-Only Storage Node Best Practices | PingCAP Documentation Center

| username: zhanggame1 | Original post link

Leader

| username: Kongdom | Original post link

It definitely reads from the leader, and under standard conditions, data is also read from the leader.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.