备份状态是否成功

【 TiDB 使用环境】生产环境
【 TiDB 版本】TiDB Operator V1.1.12
使用minio全备tidb,完成结束后有个报错,不知道是否正常?如下:
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

最后有这一句: 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
属于正常的吗,minio有数据,如果不正常我该如何操作?谢谢大家

从日志来看数据应该是备份成功了的。

最后这个更新备份状态不清楚是要干嘛,猜测是要更新backups.pingcap.com上本次的备份结果然后因为网络不通失败了?这个域名貌似并不存在

看它最后还是打印更新成功了,我觉得可以忽略这个报错吧

1 个赞

谢谢你的回答,看来只能做恢复操作才能验证完整性了

还有遇到过的人吗,或者了解的。欢迎你的留言解答,为后来人留下社区的遗产

刚 hoho 查阅源码了,是个无关痛痒的功能,会影响使用者的体验了… 已经反馈了

1 个赞

谢谢大佬答疑,结帖了

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。