mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
52221db7ef
We need to make sure if we cannot read bucket metadata for some reason, and bucket metadata is not missing and returning corrupted information we should panic such handlers to disallow I/O to protect the overall state on the system. In-case of such corruption we have a mechanism now to force recreate the metadata on the bucket, using `x-minio-force-create` header with `PUT /bucket` API call. Additionally fix the versioning config updated state to be set properly for the site replication healing to trigger correctly. |
||
---|---|---|
.. | ||
error.go | ||
versioning_test.go | ||
versioning.go |