mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Use Walk(), which is a recursive listing with versioning, to check if the bucket has some objects before being removed. This is beneficial because the bucket can contain multiple dangling objects in multiple drives. Also, this will prevent a bug where a bucket is deleted in a deployment that has many erasure sets but the bucket contains one or few objects not spread to enough erasure sets.
8.7 KiB
8.7 KiB