1
0
mirror of https://github.com/minio/docs.git synced 2026-01-04 02:44:36 +03:00

DOCS-888: prefix exclusion of versioning prevents replication (#893)

Closes #888 

# Summary

- MinIO requires versioning for replication
- We support excluding prefixes/folders in buckets selectively
- This prevents replication within those prefixes/folders

Also included in this ticket

- Added an image to the site replication page
- Fixed a broken SVG
- Minor tweaking of site replication page.

---------

Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
This commit is contained in:
Ravind Kumar
2023-06-23 13:19:45 -04:00
committed by GitHub
parent c7a9477286
commit 7a01ca72e6
6 changed files with 61 additions and 22 deletions

View File

@@ -283,10 +283,13 @@ Exclude a Prefix From Versioning
You can exclude certain :ref:`prefixes <minio-admin-concepts-organize-objects>` from versioning using the :ref:`MinIO Client <minio-client>`.
This is useful for Spark/Hadoop workloads or others that initially create objects with temporary prefixes.
.. admonition:: Object locking
.. admonition:: Replication and Object Locking Require Versioning
:class: note
Buckets with :ref:`object locking enabled <minio-object-locking>` require versioning and do not support excluding prefixes.
MinIO requires versioning to support :term:`replication`.
Objects in excluded prefixes do not replicate to any peer site or remote site.
MinIO does not support excluding prefixes from versioning on buckets with :ref:`object locking enabled <minio-object-locking>`.
- Use :mc-cmd:`mc version enable` with the :mc-cmd:`~mc version --excluded-prefixes` option:
@@ -351,6 +354,14 @@ Exclude Folders from Versioning
You can exclude folders from versioning using the :ref:`MinIO Client <minio-client>`.
.. admonition:: Replication and Object Locking Require Versioning
:class: note
MinIO requires versioning to support :term:`replication`.
Objects in excluded folders do not replicate to any peer site or remote site.
MinIO does not support excluding folders from versioning on buckets with :ref:`object locking enabled <minio-object-locking>`.
.. admonition:: Object locking
:class: note