【Ceph】abort incomplete multipart uploads

2020-10-29 10:42:59 浏览数 (1)

代码语言:javascript复制
# radosgw-admin bucket rm --bucket=hero_video_lol --purge-objects --bypass-gc
2020-10-23 15:26:58.195290 7f1e894fcdc0  0 WARNING : aborted 1000 incomplete multipart uploads
2020-10-23 15:27:01.293719 7f1e894fcdc0  0 WARNING : aborted 2000 incomplete multipart uploads
2020-10-23 15:27:04.681863 7f1e894fcdc0  0 WARNING : aborted 3000 incomplete multipart uploads
2020-10-23 15:27:07.751288 7f1e894fcdc0  0 WARNING : aborted 4000 incomplete multipart uploads
2020-10-23 15:27:11.376010 7f1e894fcdc0  0 WARNING : aborted 5000 incomplete multipart uploads
2020-10-23 15:27:14.293085 7f1e894fcdc0  0 WARNING : aborted 6000 incomplete multipart uploads
2020-10-23 15:27:16.548651 7f1e894fcdc0  0 WARNING : aborted 7000 incomplete multipart uploads
2020-10-23 15:27:20.684736 7f1e894fcdc0  0 WARNING : aborted 8000 incomplete multipart uploads
2020-10-23 15:27:29.198199 7f1e894fcdc0  0 WARNING : aborted 9000 incomplete multipart uploads

这个是删除 bucket 时候的一些 warning,为了确定 bucket 是否能确定删除,所以去看看源码的部分。

根据 warning 信息,找到源码,可以知道这个是标记 incomplete multipart upload 对象,之后才会触发真正的删除操作。

对于一个巨大的 bucket,删好几天都是正常的。

0 人点赞