Is the backup status successful?

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

Original topic: 备份状态是否成功

| username: TiDBer_28PtrpL9

[TiDB Usage Environment] Production Environment
[TiDB Version] TiDB Operator V1.1.12
Using minio for full backup of TiDB, there was an error after completion. Is this normal? As follows:
I1124 02:07:28.454381 9 backup.go:93] [2022/11/24 02:07:28.454 +00:00] [INFO] [client.go:219] [“save backup meta”] [path=s3://tidb/20221124] [size=3803117]
I1124 02:07:28.582312 9 backup.go:93] [2022/11/24 02:07:28.581 +00:00] [INFO] [client.go:510] [“[pd] exit tso dispatcher”] [dc-location=global]
I1124 02:07:28.582330 9 backup.go:93] [2022/11/24 02:07:28.582 +00:00] [INFO] [client.go:510] [“[pd] exit tso dispatcher”] [dc-location=global]
I1124 02:07:28.582610 9 backup.go:93] [2022/11/24 02:07:28.582 +00:00] [INFO] [collector.go:210] [“Full backup success summary”] [total-ranges=338] [ranges-succeed=338] [ranges-failed=0] [backup-fast-checksum=57.37767ms] [backup-checksum=5m8.248642048s] [backup-total-regions=12230] [BackupTS=437585221384142856] [Size=20987070417] [total-take=8m21.218865586s] [total-kv=883447748] [data-size=141GB] [average-speed=741.3MB/s]
I1124 02:07:28.585742 9 backup.go:93]
I1124 02:07:28.585851 9 backup.go:108] Backup data for cluster aimo-tidb/aimo-tidb-backup-s3-006 successfully
I1124 02:07:28.585890 9 manager.go:302] backup cluster aimo-tidb/aimo-tidb-backup-s3-006 data to s3://tidb/20221124 success
I1124 02:07:28.644384 9 manager.go:317] Get br metadata for backup files in s3://tidb/20221124 of cluster aimo-tidb/aimo-tidb-backup-s3-006 success
I1124 02:07:28.645163 9 manager.go:320] Get size 20987070417 for backup files in s3://tidb/20221124 of cluster aimo-tidb/aimo-tidb-backup-s3-006 success
I1124 02:07:28.645182 9 manager.go:321] Get cluster aimo-tidb/aimo-tidb-backup-s3-006 commitTs 437585221384142856 success
E1124 02:07:28.655445 9 backup_status_updater.go:87] Failed to update backup [aimo-tidb/aimo-tidb-backup-s3-006], error: Operation cannot be fulfilled on backups.pingcap.com “aimo-tidb-backup-s3-006”: the object has been modified; please apply your changes to the latest version and try again
I1124 02:07:28.719721 9 backup_status_updater.go:84] Backup: [aimo-tidb/aimo-tidb-backup-s3-006] updated successfully

The last sentence: Failed to update backup [aimo-tidb/aimo-tidb-backup-s3-006], error: Operation cannot be fulfilled on backups.pingcap.com “aimo-tidb-backup-s3-006”: the object has been modified; please apply your changes to the latest version and try again
Is this normal? There is data in minio. If it is not normal, what should I do? Thank you, everyone.

| username: hey-hoho | Original post link

From the logs, it appears that the data was successfully backed up.

It’s unclear what the final update backup status is supposed to do. I guess it might be trying to update the backup result on backups.pingcap.com and failed due to network issues? This domain doesn’t seem to exist.

Since it ultimately printed that the update was successful, I think we can ignore this error.

| username: TiDBer_28PtrpL9 | Original post link

Thank you for your response. It seems that we can only perform a recovery operation to verify the integrity.

| username: TiDBer_28PtrpL9 | Original post link

Has anyone else encountered this or knows about it? Feel free to leave your comments and answers, leaving a legacy for future community members.

| username: xfworld | Original post link

I just checked the source code, it’s a trivial feature that will affect the user’s experience… I’ve already reported it.

| username: TiDBer_28PtrpL9 | Original post link

Thank you for answering my question, closing the thread.

| username: system | Original post link

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